]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: don't load squasfs/erofs kmods explicitly 36132/head
authorLennart Poettering <lennart@poettering.net>
Thu, 23 Jan 2025 13:49:46 +0000 (14:49 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 23 Jan 2025 15:29:28 +0000 (16:29 +0100)
File system modules should be something the kernel can autoload
automatically, and according to my testing that works fine, hence let's
drop the explicit deps, in particular as systems usually stick to one fs
for these things, not both.

I inquired bluca about the reason to add it, and didn't remember
anymore, and was fine with me removing this. So let's remove this for
now, should issues arise we can revert this.

units/systemd-confext-initrd.service
units/systemd-sysext-initrd.service

index 4655018567d230c50ccc933d1331b05b403f835a..22461fa7120a4f2d391a54dddec5182f8e556aab 100644 (file)
@@ -24,8 +24,8 @@ Before=local-fs-pre.target cryptsetup-pre.target systemd-tmpfiles-setup.service
 Wants=local-fs-pre.target cryptsetup-pre.target
 Conflicts=initrd-switch-root.target
 Before=initrd-switch-root.target
-Wants=modprobe@loop.service modprobe@dm_mod.service modprobe@squashfs.service modprobe@erofs.service
-After=modprobe@loop.service modprobe@dm_mod.service modprobe@squashfs.service modprobe@erofs.service
+Wants=modprobe@loop.service modprobe@dm_mod.service
+After=modprobe@loop.service modprobe@dm_mod.service
 
 [Service]
 Type=oneshot
index 4f0b8ff4de4c4304cafc43958032d85750f80fd0..f21990aad0127fcf6a2f4cb83295fb4fba9371c6 100644 (file)
@@ -23,8 +23,8 @@ Before=local-fs-pre.target cryptsetup-pre.target systemd-tmpfiles-setup.service
 Wants=local-fs-pre.target cryptsetup-pre.target
 Conflicts=initrd-switch-root.target
 Before=initrd-switch-root.target
-Wants=modprobe@loop.service modprobe@dm_mod.service modprobe@squashfs.service modprobe@erofs.service
-After=modprobe@loop.service modprobe@dm_mod.service modprobe@squashfs.service modprobe@erofs.service
+Wants=modprobe@loop.service modprobe@dm_mod.service
+After=modprobe@loop.service modprobe@dm_mod.service
 
 [Service]
 Type=oneshot