summaryrefslogtreecommitdiff
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:31 +0000
commitc509f948d9c575c45af8c5ed1cb1692c0ca5dade (patch)
treeb57c83b6dcc33b1dbfd6b79367397c82f49110c8
parentd0e9f74e3f1322b58b78a9bc82f299d6b9da036f (diff)
downloadopenembedded-core-c509f948d9c575c45af8c5ed1cb1692c0ca5dade.tar.gz
openembedded-core-c509f948d9c575c45af8c5ed1cb1692c0ca5dade.tar.bz2
openembedded-core-c509f948d9c575c45af8c5ed1cb1692c0ca5dade.zip
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] 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 @@
# stock fstab - you probably want to override this with a machine specific one
-rootfs / auto defaults 1 1
+/dev/root / auto defaults 1 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0