1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

udev: Fix udevd launch issue after system second boot

"grep" command will return 1 if nothing is grepped, which will cause
the udevd daemon not working correctly.

This fixes [YOCTO #1146]

(From OE-Core rev: 155a10287bbcac583d95325ab2a7b09e04bb4b90)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Dongxiao Xu
2011-06-09 08:55:14 +08:00
committed by Richard Purdie
parent c647c7a54c
commit 4d9b298c33
+1 -1
View File
@@ -35,7 +35,7 @@ LANG=C awk "\$2 == \"/dev\" && \$4 == \"tmpfs\" { exit 1 }" /proc/mounts && {
}
if [ -e /etc/dev.tar ]; then
(cd /; tar xf /etc/dev.tar 2>&1 | grep -v 'time stamp')
(cd /; tar xf /etc/dev.tar 2>&1 | grep -v 'time stamp' || true)
not_first_boot=1
fi