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"