Skip to content

Commit

Permalink
balena-image-flasher: only add grub configuration for EFI devices
Browse files Browse the repository at this point in the history
Change-type: patch
Signed-off-by: Alex Gonzalez <alexg@balena.io>
  • Loading branch information
alexgg committed Jan 12, 2024
1 parent 25be7ad commit 0c0966b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ BALENA_DATA_FS_LABEL = "flash-data"
BALENA_BOOT_PARTITION_FILES:append = "${@oe.utils.conditional('SIGN_API','','','balena-keys:/balena-keys/',d)}"

# add the LUKS variant of GRUB config if needed
BALENA_BOOT_PARTITION_FILES:append = "${@oe.utils.conditional('SIGN_API','','',' grub.cfg_internal_luks:',d)}"
BALENA_BOOT_PARTITION_FILES:append = "${@bb.utils.contains('MACHINE_FEATURES','efi',' grub.cfg_internal_luks:','',d)}"

# Put the resin logo, uEnv.txt files inside the boot partition
BALENA_BOOT_PARTITION_FILES:append = " balena-logo.png:/splash/balena-logo.png"
Expand Down

0 comments on commit 0c0966b

Please sign in to comment.