From 19606359c3f85586f36e60ff5e34a94f999496b4 Mon Sep 17 00:00:00 2001 From: David Cassany Date: Mon, 11 Nov 2024 14:38:55 +0100 Subject: [PATCH] Fix dracut modules dependencies Signed-off-by: David Cassany --- .../lib/dracut/modules.d/30elemental-rootfs/module-setup.sh | 2 +- .../lib/dracut/modules.d/20elemental-sysroot/module-setup.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/features/embedded/elemental-rootfs/usr/lib/dracut/modules.d/30elemental-rootfs/module-setup.sh b/pkg/features/embedded/elemental-rootfs/usr/lib/dracut/modules.d/30elemental-rootfs/module-setup.sh index c2de4b7631..1f2589d969 100755 --- a/pkg/features/embedded/elemental-rootfs/usr/lib/dracut/modules.d/30elemental-rootfs/module-setup.sh +++ b/pkg/features/embedded/elemental-rootfs/usr/lib/dracut/modules.d/30elemental-rootfs/module-setup.sh @@ -24,7 +24,7 @@ install() { declare systemdsystemunitdir=${systemdsystemunitdir} inst_multiple \ - mount cut basename lsblk elemental + mount cut basename elemental rsync findmnt inst_simple "/etc/elemental/config.yaml" diff --git a/pkg/features/embedded/elemental-sysroot/usr/lib/dracut/modules.d/20elemental-sysroot/module-setup.sh b/pkg/features/embedded/elemental-sysroot/usr/lib/dracut/modules.d/20elemental-sysroot/module-setup.sh index 6c3a1a59ef..0305ddcdc0 100755 --- a/pkg/features/embedded/elemental-sysroot/usr/lib/dracut/modules.d/20elemental-sysroot/module-setup.sh +++ b/pkg/features/embedded/elemental-sysroot/usr/lib/dracut/modules.d/20elemental-sysroot/module-setup.sh @@ -18,8 +18,8 @@ install() { declare systemdutildir=${systemdutildir} declare systemdsystemunitdir=${systemdsystemunitdir} - inst_multiple -o \ - "$systemdutildir"/systemd-fsck ln mkdir mount umount systemd-escape e2fsck + inst_multiple \ + "$systemdutildir"/systemd-fsck ln mkdir mount umount systemd-escape e2fsck lsblk basename inst_hook cmdline 30 "${moddir}/elemental-cmdline.sh"