From: Franck Bui Date: Wed, 10 Sep 2025 13:30:31 +0000 (+0200) Subject: units: don't force the loading of the loop and dm_mod modules in systemd-repart.service X-Git-Tag: v259-rc1~539 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=204c34040a3114734f88404b83170a79e1ea6185;p=thirdparty%2Fsystemd.git units: don't force the loading of the loop and dm_mod modules in systemd-repart.service This avoids loading the aforementioned modules when systemd-repart is skipped during the boot process, which is the case most of the time. --- diff --git a/units/systemd-repart.service b/units/systemd-repart.service index 85a2a9b8718..cee77f59a59 100644 --- a/units/systemd-repart.service +++ b/units/systemd-repart.service @@ -20,8 +20,7 @@ ConditionDirectoryNotEmpty=|/sysusr/usr/lib/repart.d ConditionDirectoryNotEmpty=|/sysusr/usr/local/lib/repart.d DefaultDependencies=no -Wants=modprobe@loop.service modprobe@dm_mod.service -After=initrd-usr-fs.target modprobe@loop.service modprobe@dm_mod.service systemd-tpm2-setup-early.service +After=initrd-usr-fs.target systemd-tpm2-setup-early.service systemd-tmpfiles-setup-dev.service Before=initrd-root-fs.target factory-reset-now.target Conflicts=shutdown.target initrd-switch-root.target Before=shutdown.target initrd-switch-root.target