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:40:35 +0100 |
commit | 155a10287bbcac583d95325ab2a7b09e04bb4b90 (patch) | |
tree | a2f2c37b57d7d1ee62bc6b6a8009745bbac701ba /meta/recipes-core/udev | |
parent | 9eaa9ed38a197be76317cd3e42f54d1808c3e971 (diff) | |
download | openembedded-core-155a10287bbcac583d95325ab2a7b09e04bb4b90.tar.gz openembedded-core-155a10287bbcac583d95325ab2a7b09e04bb4b90.tar.bz2 openembedded-core-155a10287bbcac583d95325ab2a7b09e04bb4b90.zip |
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]
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/recipes-core/udev')
-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 && { } 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 |