Skip to content

Commit

Permalink
hostapp-update-hooks: reorder to allow hook before signed-update
Browse files Browse the repository at this point in the history
Change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
  • Loading branch information
jakogut committed Nov 19, 2024
1 parent e12079c commit 09316cb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ S = "${WORKDIR}"
inherit allarch

HOSTAPP_HOOKS = " \
1-bootfiles \
02-bootfiles \
60-data-breadcrumb \
70-sshd_migrate_keys \
75-supervisor-db/75-forward_supervisor-db \
Expand All @@ -19,7 +19,7 @@ HOSTAPP_HOOKS = " \
"

SECUREBOOT_HOOKS = " \
0-signed-update \
01-signed-update \
95-secureboot/1-fwd_commit_apply-dbx \
95-secureboot/2-fwd_commit_update-policy \
"
Expand Down Expand Up @@ -81,7 +81,7 @@ do_install() {
ln -s -r ${D}${bindir}/hostapp-update-hooks-v2 ${D}${bindir}/hostapp-update-hooks

sed -i -e 's:@BALENA_BOOT_FINGERPRINT@:${BALENA_BOOT_FINGERPRINT}:g;' \
${D}${sysconfdir}/hostapp-update-hooks.d/1-bootfiles
${D}${sysconfdir}/hostapp-update-hooks.d/??-bootfiles
sed -i -e 's:@BALENA_BOOTFILES_BLACKLIST@:${BALENA_BOOTFILES_BLACKLIST}:g;' \
${D}${sysconfdir}/hostapp-update-hooks.d/1-bootfiles
${D}${sysconfdir}/hostapp-update-hooks.d/??-bootfiles
}

0 comments on commit 09316cb

Please sign in to comment.