mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
udev: do not create /var/volatile/run in init script
Previously in udev init, /var/volatile/run had to be created after mounting all tmpfs filesystems so that udevd can write to /var/run (a symbolic link to /var/volatile/run). This is because udev is started before populate-volatile.sh. Now that /var/run is a symbolic link to /run (a tmpfs filesystem), /var/volatile/run doesn't need to be created anymore. (From OE-Core rev: d557f6615701c9f2f461a10c30de1d9572424266) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
526ca27a3c
commit
90b4d3d06d
@@ -50,7 +50,6 @@ case "$1" in
|
||||
[ -e /dev/pts ] || mkdir -m 0755 /dev/pts
|
||||
[ -e /dev/shm ] || mkdir -m 1777 /dev/shm
|
||||
mount -a -t tmpfs 2>/dev/null
|
||||
mkdir -p /var/volatile/run
|
||||
mkdir -p /var/volatile/tmp
|
||||
|
||||
# cache handling
|
||||
|
||||
Reference in New Issue
Block a user