diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-06-09 08:55:14 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-09 15:48:27 +0100 |
commit | 4d9b298c33bb098f0548751c5162da4db80d1317 (patch) | |
tree | f879f23964c34bd3faecc56e6059338f776485d0 /meta | |
parent | c647c7a54cf28c2fc76158095920ff6c7bf6adbc (diff) | |
download | poky-4d9b298c33bb098f0548751c5162da4db80d1317.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/udev/udev-164/init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/udev/udev-164/init b/meta/recipes-core/udev/udev-164/init index 1a8fca5747..9ce95ee4c2 100644 --- a/meta/recipes-core/udev/udev-164/init +++ b/meta/recipes-core/udev/udev-164/init | |||
@@ -35,7 +35,7 @@ LANG=C awk "\$2 == \"/dev\" && \$4 == \"tmpfs\" { exit 1 }" /proc/mounts && { | |||
35 | } | 35 | } |
36 | 36 | ||
37 | if [ -e /etc/dev.tar ]; then | 37 | if [ -e /etc/dev.tar ]; then |
38 | (cd /; tar xf /etc/dev.tar 2>&1 | grep -v 'time stamp') | 38 | (cd /; tar xf /etc/dev.tar 2>&1 | grep -v 'time stamp' || true) |
39 | not_first_boot=1 | 39 | not_first_boot=1 |
40 | fi | 40 | fi |
41 | 41 | ||