[isar-cip-core][RFC][PATCH 06/10] initramfs-overlay-hook: Add awareness for abvar hook

Jan Kiszka
2025-01-30T09:39:28Z

If the abvar hook is used to mount and manage snapshots for it, overlay
mounting has to wait for it.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
.../initramfs-overlay-hook/initramfs-overlay-hook_0.2.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-initramfs/initramfs-overlay-hook/initramfs-overlay-hook_0.2.bb b/recipes-initramfs/initramfs-overlay-hook/initramfs-overlay-hook_0.2.bb
index ec7f85b6..073fe070 100644
--- a/recipes-initramfs/initramfs-overlay-hook/initramfs-overlay-hook_0.2.bb
+++ b/recipes-initramfs/initramfs-overlay-hook/initramfs-overlay-hook_0.2.bb
@@ -47,7 +47,7 @@ DEBIAN_DEPENDS .= ", awk, coreutils, util-linux"
HOOK_ADD_MODULES = "overlay"
HOOK_COPY_EXECS = "mountpoint awk e2fsck mke2fs"

-SCRIPT_PREREQ="crypt"
+SCRIPT_PREREQ = "crypt abvar"

do_install:append() {
install -m 0755 "${WORKDIR}/${INITRAMFS_OVERLAY_RECOVERY_SCRIPT}" \
--
2.43.0