]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units/breakpoint-pre-basic.service: explicitly order it before sysroot.mount
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Fri, 20 Dec 2024 13:29:05 +0000 (14:29 +0100)
committerAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Thu, 2 Jan 2025 14:00:34 +0000 (15:00 +0100)
If `rd.systemd.break=pre-mount` is not set during boot, there is no unit that
prevents sysroot.mount from being activated.

units/breakpoint-pre-basic.service.in

index 69a406149d978ffc2192fe44c5b1f146743faf68..08c014a07366be8f7a050fdc0648082f8b9ff6d6 100644 (file)
@@ -13,7 +13,7 @@ Documentation=man:systemd-debug-generator(8)
 DefaultDependencies=no
 Conflicts=shutdown.target emergency.target
 After=sysinit.target sockets.target paths.target slices.target tmp.mount systemd-vconsole-setup.service
-Before=basic.target
+Before=basic.target initrd-root-fs.target sysroot.mount
 
 [Service]
 Environment=SHELL_PROMPT_PREFIX="pre-basic "