summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2014-03-20 10:05:04 +1100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-21 12:05:54 +0000
commite8bc7a136a81a0d8df2d32dfba0920c1b2835141 (patch)
tree2aa695692e7fce627b6297828d8b323434c206ed
parente6e4e0e2553ba9140e5067e4d3581bc08c214059 (diff)
downloadpoky-e8bc7a136a81a0d8df2d32dfba0920c1b2835141.tar.gz
base-files: use /dev/root in /etc/fstab for systemd support
systemd does not recognize "rootfs" in /etc/fstab so the root filesystem is not checked. As a result, the following message is logged by journalctl: systemd-fstab-generator[68]: Checking was requested for "rootfs", but it is not a device Changing "rootfs" to "/dev/root" in /etc/fstab allows systemd to check the root filesystem when the kernel is booted with the root filesystem mounted read-only. [YOCTO #5950] (From OE-Core rev: c509f948d9c575c45af8c5ed1cb1692c0ca5dade) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/base-files/base-files/fstab2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/base-files/base-files/fstab b/meta/recipes-core/base-files/base-files/fstab
index e625ebc8ff..739b844bfc 100644
--- a/meta/recipes-core/base-files/base-files/fstab
+++ b/meta/recipes-core/base-files/base-files/fstab
@@ -1,6 +1,6 @@
1# stock fstab - you probably want to override this with a machine specific one 1# stock fstab - you probably want to override this with a machine specific one
2 2
3rootfs / auto defaults 1 1 3/dev/root / auto defaults 1 1
4proc /proc proc defaults 0 0 4proc /proc proc defaults 0 0
5devpts /dev/pts devpts mode=0620,gid=5 0 0 5devpts /dev/pts devpts mode=0620,gid=5 0 0
6usbdevfs /proc/bus/usb usbdevfs noauto 0 0 6usbdevfs /proc/bus/usb usbdevfs noauto 0 0