diff options
author | Harald Hoyer <harald@redhat.com> | 2013-02-21 10:23:58 +0100 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-02-21 10:27:38 +0100 |
commit | 696164cb5b5c35a8c5ba4ee63d299d404bb48833 (patch) | |
tree | 46640edf5316feeb76593f119efa2dbfa09eaa72 /src | |
parent | 22382c3f57a700126b5e7ab0641b7d583d67dbff (diff) |
fstab-generator: change kernel command line mount path for root
Use /sysroot instead of /new_root to mount the real root in the
initramfs.
Diffstat (limited to 'src')
-rw-r--r-- | src/fstab-generator/fstab-generator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c index ad26acb14a..bfeddedf62 100644 --- a/src/fstab-generator/fstab-generator.c +++ b/src/fstab-generator/fstab-generator.c @@ -495,8 +495,8 @@ static int parse_new_root_from_proc_cmdline(void) { if (what) { - log_debug("Found entry what=%s where=/new_root type=%s", what, type); - r = add_mount(what, "/new_root", type, opts, 0, wait, false, false, + log_debug("Found entry what=%s where=/sysroot type=%s", what, type); + r = add_mount(what, "/sysroot", type, opts, 0, wait, false, false, false, false, false, "/proc/cmdline"); if (r < 0) |