summaryrefslogtreecommitdiff
path: root/src/fstab-generator/fstab-generator.c
diff options
context:
space:
mode:
authornmartensen <nis.martensen@web.de>2016-01-17 10:58:40 +0100
committernmartensen <nis.martensen@web.de>2016-01-17 10:58:40 +0100
commit104bc12fbc23c3ca852d9d389805c615cd590d01 (patch)
treeadc6d39c145b1d1a4cf89ee638c1d6d32174ee1f /src/fstab-generator/fstab-generator.c
parentce3f6d82b003f365f718f24e48f55b8a0372b924 (diff)
fstab-generator: fix ordering of /sysroot/usr mount
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.
Diffstat (limited to 'src/fstab-generator/fstab-generator.c')
-rw-r--r--src/fstab-generator/fstab-generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c
index c924b655b6..1468dc8df6 100644
--- a/src/fstab-generator/fstab-generator.c
+++ b/src/fstab-generator/fstab-generator.c
@@ -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");
}