fstab-generator: change kernel command line mount path for root

Use /sysroot instead of /new_root to mount the real root in the
initramfs.
This commit is contained in:
Harald Hoyer
2013-02-21 10:27:38 +01:00
parent 22382c3f57
commit 696164cb5b
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -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)