Config.in 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. depends on BR2_TARGET_GRUB2
  6. depends on !(BR2_TARGET_GRUB2_HAS_LEGACY_BOOT && BR2_TARGET_GRUB2_HAS_EFI_BOOT)
  7. help
  8. Contains the boot scripts and tools used by Mender to
  9. integrate with the GRUB bootloader.
  10. The following Grub modules must be selected for this package:
  11. loadenv hashsum echo halt gcry_sha256 test regexp
  12. https://github.com/mendersoftware/grub-mender-grubenv
  13. if BR2_PACKAGE_MENDER_GRUBENV
  14. config BR2_PACKAGE_MENDER_GRUBENV_DEFINES
  15. string "path to grubenv defines"
  16. help
  17. Specify a path to the mender grubenv defines file.
  18. If no path is specified, the example file in the source
  19. directory will be used.
  20. The example file in the source directory sets the following:
  21. mender_rootfsa_part=2
  22. mender_rootfsb_part=3
  23. mender_kernel_root_base=/dev/mmcblk0p
  24. mender_grub_storage_device=hd0
  25. kernel_imagetype=bzImage
  26. endif
  27. comment "mender-grubenv needs a grub2 bootloader"
  28. depends on BR2_TARGET_GRUB2_ARCH_SUPPORTS
  29. depends on BR2_PACKAGE_MENDER
  30. depends on !BR2_TARGET_GRUB2
  31. comment "mender-grubenv does not support both legacy and EFI grub2 bootloaders at the same time"
  32. depends on BR2_PACKAGE_MENDER
  33. depends on BR2_TARGET_GRUB2_HAS_LEGACY_BOOT && BR2_TARGET_GRUB2_HAS_EFI_BOOT