]> git.ipfire.org Git - thirdparty/systemd.git/commit
units: pull in loop.ko and dm-mod.ko before repart 25849/head
authorLennart Poettering <lennart@poettering.net>
Fri, 23 Dec 2022 16:23:14 +0000 (17:23 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Dec 2022 16:26:57 +0000 (17:26 +0100)
commitce7dcfd6b00b8099d1793d04bcfa9968ca4a0d96
tree5ed646fc715877240da6cc1891520954e9ef8ce2
parent143a1f1039d992001d2f2f35b2e6ba07f8a52af7
units: pull in loop.ko and dm-mod.ko before repart

We want to make use of that when formatting file systems, hence let's
pull in these modules explicitly.

(This is necessary because we are an early boot service that might run
before systemd-tmpfiles-dev.service, which creates /dev/loop-control and
/dev/mapper/control.)

Alternatively we could just order ourselves after
systemd-tmpfiles-dev.service, but I think there's value in adding an
explicit minimal ordering here, since we know what we'll need.

Fixes: #25775
units/systemd-repart.service.in