diff options
author | Saul Wold <sgw@linux.intel.com> | 2013-06-25 15:14:48 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-09 10:53:56 +0100 |
commit | f0b927882cf8911eb1cff83e2afa6198143890b0 (patch) | |
tree | afa1f5240e2fd7806aee88f29a04aae62b00aab4 /meta/classes | |
parent | d207bebb74b53dc1ad9e5a9f7a9f4fbe42760725 (diff) | |
download | poky-f0b927882cf8911eb1cff83e2afa6198143890b0.tar.gz |
systemd: Ensure that we mount devtmpfs
Since systemd also used tmpfs we should make a similar patch for
the systemd-udev script
Fix for bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=4632
Since udev 172, the 'mknod' logic was removed from udev. Yocto Dylan
is now using udev 182. This means /dev is now required to be a
devtmpfs filesystem (maintained by the kernel). If the root
filesystem is a ramdisk, the kernel's auto-mount of /dev doesn't
activate since there is no rootfs to actually mount... The bug causes
an unusable system as /dev doesn't contain even basic nodes required
to even get a login prompt.
The Yocto udev/init script mounts tmpfs if it does not detect tmpfs
or devtmpfs mounted at /dev. This appears to be outdated logic that
is no longer correct. I believe the Yocto udev init script should be
checking and mounting only 'devtmpfs' on dev.
(From OE-Core master rev: d3616f31617830cac9375e8f4aa33e344ac554ed)
(From OE-Core rev: 20b50e8d99fa58818a23d3e82411ac1691e6552d)
Signed-off-by: Alex Olson <alex.olson+yocto@gmail.com>
[YOCTO #4632]
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
0 files changed, 0 insertions, 0 deletions