Skip to content

Commit

Permalink
fstab-generator: fix ordering of /sysroot/usr mount
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nmartensen committed Jan 17, 2016
1 parent ce3f6d8 commit 104bc12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fstab-generator/fstab-generator.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

Expand Down

0 comments on commit 104bc12

Please sign in to comment.