diff options
author | Jonathan Liu <net147@gmail.com> | 2014-03-20 10:05:04 +1100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-21 12:05:54 +0000 |
commit | e8bc7a136a81a0d8df2d32dfba0920c1b2835141 (patch) | |
tree | 2aa695692e7fce627b6297828d8b323434c206ed /meta | |
parent | e6e4e0e2553ba9140e5067e4d3581bc08c214059 (diff) | |
download | poky-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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/base-files/base-files/fstab | 2 |
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 | ||
3 | rootfs / auto defaults 1 1 | 3 | /dev/root / auto defaults 1 1 |
4 | proc /proc proc defaults 0 0 | 4 | proc /proc proc defaults 0 0 |
5 | devpts /dev/pts devpts mode=0620,gid=5 0 0 | 5 | devpts /dev/pts devpts mode=0620,gid=5 0 0 |
6 | usbdevfs /proc/bus/usb usbdevfs noauto 0 0 | 6 | usbdevfs /proc/bus/usb usbdevfs noauto 0 0 |