[oe-commits] Petr Štetiar : udev: get rid of ' timestamp in the future' tar messages

git version control git at git.openembedded.org
Wed Jan 27 19:24:19 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 16535dde428e8e9b87dfecf3888ed54cd4aab030
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=16535dde428e8e9b87dfecf3888ed54cd4aab030

Author: Petr Štetiar <ynezz at true.cz>
Date:   Wed Jan 27 07:58:36 2010 +0000

udev: get rid of 'timestamp in the future' tar messages

This patch tries to get rid of spew of the useless tar messages durring boot
process on machines without RTC, such as the Beagleboard. Example:

Please wait: booting...
Starting udev
tar: dev/.udev/uevent_seqnum: time stamp 1970-01-01 01:00:21 is 14.122497521 s in the future
tar: dev/.udev/rules.d: time stamp 1970-01-01 01:00:07 is 0.119201623 s in the future
tar: dev/.udev/db/\x2fdevices\x2fvirtual\x2fblock\x2fram9: time stamp 1970-01-01 01:00:22 is 15.118713341 s in the future

[ more then 100 similar lines cutted off]

Signed-off-by: Petr Štetiar <ynezz at true.cz>
Acked-by: Chris Larson <clarson at mvista.com>
Signed-off-by: Philip Balister <philip at balister.org>

---

 recipes/udev/udev-141/init |    2 +-
 recipes/udev/udev_141.bb   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/udev/udev-141/init b/recipes/udev/udev-141/init
index 24ca9d8..66705e6 100644
--- a/recipes/udev/udev-141/init
+++ b/recipes/udev/udev-141/init
@@ -44,7 +44,7 @@ if [ "$DEVCACHE" != "" ]; then
 	   cmp -s /tmp/uname /etc/udev/saved.uname && \
 	   cmp -s /tmp/cmdline /etc/udev/saved.cmdline && \
 	   cmp -s /tmp/atags /etc/udev/saved.atags; then
-		(cd /; tar xf $DEVCACHE)
+		(cd /; tar xf $DEVCACHE > /dev/null 2>&1)
 		not_first_boot=1
 	fi
 fi
diff --git a/recipes/udev/udev_141.bb b/recipes/udev/udev_141.bb
index df5e346..d1fee30 100644
--- a/recipes/udev/udev_141.bb
+++ b/recipes/udev/udev_141.bb
@@ -6,7 +6,7 @@ LICENSE = "GPL"
 # Untested
 DEFAULT_PREFERENCE = "-1"
 
-PR = "r20"
+PR = "r21"
 
 # needed for init.d script
 RDEPENDS_${PN} += "udev-utils"





More information about the Openembedded-commits mailing list