initramfs-overlay-hook: Fix copy_exec input
PATCH 1/1 initramfs-overlay-hook: Fix copy_exec input
From: Jan Kiszka <[email protected]>
This variable name confusion caused breakages when using the hook in an initramfs where no one else provided the dependencies, e.g. when initramfs-crypt-hook was not used.
Fixes 35a226b87671 ("initramfs-overlay-hook: Convert to hook.inc")
Signed-off-by Jan Kiszka <[email protected]>
--- .../initramfs-overlay-hook/initramfs-overlay-hook_0.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-initramfs/initramfs-overlay-hook/initramfs-overlay-hook_0.2.bb +1 -1
@@ -43,7 +43,7 @@ TEMPLATE_VARS += " INITRAMFS_OVERLAY_STORAGE_PATH \ DEBIAN_DEPENDS .= ", awk, coreutils, util-linux" HOOK_ADD_MODULES = "overlay" -HOOK_ADD_EXECS = "mountpoint awk e2fsck mke2fs" +HOOK_COPY_EXECS = "mountpoint awk e2fsck mke2fs" do_install:append() { install -m 0755 "${WORKDIR}/${INITRAMFS_OVERLAY_RECOVERY_SCRIPT}" \
Signature · 1 line
2.43.0
Hi Jan,
I encountered the same issue with the initramfs-overlay-hook. I tested your patch successfully on the qemu-arm64 machine.
Thanks for the fix!
David