Skip to content

Commit

Permalink
resin-init-flasher: add default LUKS configuration
Browse files Browse the repository at this point in the history
The LUKS configuration now lives in the flasher configuration file.

Change-type: patch
Signed-off-by: Alex Gonzalez <alexg@balena.io>
  • Loading branch information
alexgg committed Nov 27, 2024
1 parent 187faf5 commit 129b123
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ do_install() {
echo "BOOTLOADER_SKIP_OUTPUT_BLOCKS_1=${BOOTLOADER_SKIP_OUTPUT_BLOCKS_1}" >> ${D}/${sysconfdir}/resin-init-flasher.conf

if [ "x${SIGN_API}" != "x" ]; then
echo "USE_LUKS=${BALENA_USE_LUKS}" >> ${D}/${sysconfdir}/resin-init-flasher.conf
if ${@bb.utils.contains('MACHINE_FEATURES','efi','true','false',d)}; then
install -d ${D}${libexecdir}
echo "INTERNAL_DEVICE_BOOTLOADER_CONFIG_LUKS=grub.cfg_internal_luks" >> ${D}/${sysconfdir}/resin-init-flasher.conf
Expand Down

0 comments on commit 129b123

Please sign in to comment.