]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fstab-generator: fix ordering of /sysroot/usr mount 2341/head
authornmartensen <nis.martensen@web.de>
Sun, 17 Jan 2016 09:58:40 +0000 (10:58 +0100)
committernmartensen <nis.martensen@web.de>
Sun, 17 Jan 2016 09:58:40 +0000 (10:58 +0100)
According to bootup(7) and the behavior when /usr is specified in /etc/fstab, the /sysroot/usr mount should be before initrd-fs.target, not before initrd-root-fs.target.

src/fstab-generator/fstab-generator.c

index c924b655b641bb8aea7dc1271aa26c49a7a5ae21..1468dc8df6ffe9cda7760ce02fa24e102b4dc454 100644 (file)
@@ -574,7 +574,7 @@ static int add_sysroot_usr_mount(void) {
                          false,
                          false,
                          false,
-                         SPECIAL_INITRD_ROOT_FS_TARGET,
+                         SPECIAL_INITRD_FS_TARGET,
                          "/proc/cmdline");
 }