Config.in 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. config BR2_PACKAGE_MENDER_GRUBENV
  2. bool "mender-grubenv"
  3. depends on BR2_TARGET_GRUB2_ARCH_SUPPORTS
  4. depends on BR2_PACKAGE_MENDER # runtime
  5. # grubenv provides it's own fw_printenv.
  6. depends on !BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV
  7. depends on BR2_TARGET_GRUB2
  8. help
  9. Contains the boot scripts and tools used by Mender to
  10. integrate with the GRUB bootloader.
  11. The following Grub modules must be selected for this package:
  12. loadenv hashsum echo halt gcry_sha256 test
  13. https://github.com/mendersoftware/grub-mender-grubenv
  14. if BR2_PACKAGE_MENDER_GRUBENV
  15. config BR2_PACKAGE_MENDER_GRUBENV_DEFINES
  16. string "path to grubenv defines"
  17. help
  18. Specify a path to the mender grubenv defines file.
  19. If no path is specified, the example file in the source
  20. directory will be used.
  21. The example file in the source directory sets the following:
  22. mender_rootfsa_part=2
  23. mender_rootfsb_part=3
  24. mender_kernel_root_base=/dev/mmcblk0p
  25. mender_grub_storage_device=hd0
  26. kernel_imagetype=bzImage
  27. endif
  28. comment "mender-grubenv needs a grub2 bootloader"
  29. depends on BR2_TARGET_GRUB2_ARCH_SUPPORTS
  30. depends on BR2_PACKAGE_MENDER
  31. depends on !BR2_TARGET_GRUB2
  32. comment "mender-grubenv does not work with uboot-tools fw_printenv"
  33. depends on BR2_TARGET_GRUB2_ARCH_SUPPORTS
  34. depends on BR2_PACKAGE_MENDER
  35. depends on BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV