From a2f20f9c03dfafc7f4ff96b6e1f2fedddb810647 Mon Sep 17 00:00:00 2001 From: Martin McConnell Date: Wed, 21 Feb 2024 12:16:42 +0000 Subject: [PATCH] Include dynamic kernel version dm-verity hash in initramfs Signed-off-by: Martin McConnell --- lib/dracut/modules.d/81initoverlayfs/module-setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/dracut/modules.d/81initoverlayfs/module-setup.sh b/lib/dracut/modules.d/81initoverlayfs/module-setup.sh index dc98511..ee467d9 100644 --- a/lib/dracut/modules.d/81initoverlayfs/module-setup.sh +++ b/lib/dracut/modules.d/81initoverlayfs/module-setup.sh @@ -11,6 +11,7 @@ depends() { install() { inst_multiple -o /etc/initoverlayfs.conf /usr/sbin/initoverlayfs \ + "/etc/initoverlayfs-hash-$kernel.img" \ "$systemdsystemunitdir/pre-initoverlayfs.target" \ "$systemdsystemunitdir/pre-initoverlayfs.service" \ "$systemdsystemunitdir/pre-initoverlayfs-switch-root.service"