Skip to content

Commit

Permalink
hostapp-update-hooks: 99-balena-bootloader: Adapt to secure boot
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 May 11, 2024
1 parent a35ae93 commit 241caa3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ NEW_ROOT=$(echo "${NEW_ROOT_LABEL}" | sed -e "s,^\(resin\|balena\)-root\([AB]\)$

info "Switching root partition to ${NEW_ROOT}"

BOOTENV_FILE="/mnt/boot/bootenv"
BOOTENV_FILE="${BALENA_NONENC_BOOT_MOUNTPOINT}/bootenv"

grub-editenv "${BOOTENV_FILE}" set "resin_root_part=${NEW_ROOT}"
grub-editenv "${BOOTENV_FILE}" set "upgrade_available=${DURING_UPDATE}"
Expand Down

0 comments on commit 241caa3

Please sign in to comment.