From 204c34040a3114734f88404b83170a79e1ea6185 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Wed, 10 Sep 2025 15:30:31 +0200 Subject: [PATCH] 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. --- units/systemd-repart.service | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.47.3