1*4882a593Smuzhiyunconfig BR2_PACKAGE_MENDER_GRUBENV 2*4882a593Smuzhiyun bool "mender-grubenv" 3*4882a593Smuzhiyun depends on BR2_TARGET_GRUB2_ARCH_SUPPORTS 4*4882a593Smuzhiyun depends on BR2_PACKAGE_MENDER # runtime 5*4882a593Smuzhiyun depends on BR2_TARGET_GRUB2 6*4882a593Smuzhiyun depends on !(BR2_TARGET_GRUB2_HAS_LEGACY_BOOT && BR2_TARGET_GRUB2_HAS_EFI_BOOT) 7*4882a593Smuzhiyun help 8*4882a593Smuzhiyun Contains the boot scripts and tools used by Mender to 9*4882a593Smuzhiyun integrate with the GRUB bootloader. 10*4882a593Smuzhiyun 11*4882a593Smuzhiyun The following Grub modules must be selected for this package: 12*4882a593Smuzhiyun loadenv hashsum echo halt gcry_sha256 test regexp 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun https://github.com/mendersoftware/grub-mender-grubenv 15*4882a593Smuzhiyun 16*4882a593Smuzhiyunif BR2_PACKAGE_MENDER_GRUBENV 17*4882a593Smuzhiyun 18*4882a593Smuzhiyunconfig BR2_PACKAGE_MENDER_GRUBENV_DEFINES 19*4882a593Smuzhiyun string "path to grubenv defines" 20*4882a593Smuzhiyun help 21*4882a593Smuzhiyun Specify a path to the mender grubenv defines file. 22*4882a593Smuzhiyun If no path is specified, the example file in the source 23*4882a593Smuzhiyun directory will be used. 24*4882a593Smuzhiyun 25*4882a593Smuzhiyun The example file in the source directory sets the following: 26*4882a593Smuzhiyun mender_rootfsa_part=2 27*4882a593Smuzhiyun mender_rootfsb_part=3 28*4882a593Smuzhiyun mender_kernel_root_base=/dev/mmcblk0p 29*4882a593Smuzhiyun mender_grub_storage_device=hd0 30*4882a593Smuzhiyun kernel_imagetype=bzImage 31*4882a593Smuzhiyun 32*4882a593Smuzhiyunendif 33*4882a593Smuzhiyun 34*4882a593Smuzhiyuncomment "mender-grubenv needs a grub2 bootloader" 35*4882a593Smuzhiyun depends on BR2_TARGET_GRUB2_ARCH_SUPPORTS 36*4882a593Smuzhiyun depends on BR2_PACKAGE_MENDER 37*4882a593Smuzhiyun depends on !BR2_TARGET_GRUB2 38*4882a593Smuzhiyun 39*4882a593Smuzhiyuncomment "mender-grubenv does not support both legacy and EFI grub2 bootloaders at the same time" 40*4882a593Smuzhiyun depends on BR2_PACKAGE_MENDER 41*4882a593Smuzhiyun depends on BR2_TARGET_GRUB2_HAS_LEGACY_BOOT && BR2_TARGET_GRUB2_HAS_EFI_BOOT 42