diff --git a/usr/lib/archboot/cpio/hooks/base_common b/usr/lib/archboot/cpio/hooks/base_common index 654cd07da..bfabbeaa8 100644 --- a/usr/lib/archboot/cpio/hooks/base_common +++ b/usr/lib/archboot/cpio/hooks/base_common @@ -128,7 +128,7 @@ inputrc,mke2fs.conf,nsswitch.conf,protocols,request-key.conf,securetty,services} _symlink "/etc/systemd/system/${i}.mount" /dev/null done ### disable systemd targets: - for i in cryptsetup first-boot-complete integritysetup local-fs swap slices veritysetup; do + for i in cryptsetup first-boot-complete integritysetup swap slices veritysetup; do _symlink "/etc/systemd/system/${i}.target" /dev/null done ### disable systemd services: diff --git a/usr/lib/archboot/cpio/hooks/init b/usr/lib/archboot/cpio/hooks/init index 01fad7f30..896571ae3 100644 --- a/usr/lib/archboot/cpio/hooks/init +++ b/usr/lib/archboot/cpio/hooks/init @@ -24,7 +24,7 @@ _run () _symlink "/etc/systemd/system/${i}.mount" /dev/null done ### disable systemd targets: - for i in cryptsetup first-boot-complete integritysetup local-fs remote-{veritysetup,cryptsetup} \ + for i in cryptsetup first-boot-complete integritysetup remote-{veritysetup,cryptsetup} \ slices sockets swap timers veritysetup; do _symlink "/etc/systemd/system/${i}.target" /dev/null done