All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH] udev: get rid of 'timestamp in the future' tar messages
@ 2010-01-27 17:58 Petr Štetiar
  2010-01-27 18:02 ` Chris Larson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Petr Štetiar @ 2010-01-27 17:58 UTC (permalink / raw)
  To: openembedded-devel

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@true.cz>
---
 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"
-- 
1.6.0.4




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [RFC][PATCH] udev: get rid of 'timestamp in the future' tar messages
  2010-01-27 17:58 [RFC][PATCH] udev: get rid of 'timestamp in the future' tar messages Petr Štetiar
@ 2010-01-27 18:02 ` Chris Larson
  2010-01-27 19:02 ` Koen Kooi
  2010-01-29 14:44 ` GNUtoo
  2 siblings, 0 replies; 4+ messages in thread
From: Chris Larson @ 2010-01-27 18:02 UTC (permalink / raw)
  To: openembedded-devel

On Wed, Jan 27, 2010 at 10:58 AM, Petr Štetiar <ynezz@true.cz> wrote:

> 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@true.cz>
>

Looks good to me, we have a similar patch in MVL6.

Acked-by: Chris Larson <clarson@mvista.com>
-- 
Chris Larson
clarson at kergoth dot com
clarson at mvista dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Software Engineer
MontaVista Software, Inc.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC][PATCH] udev: get rid of 'timestamp in the future' tar messages
  2010-01-27 17:58 [RFC][PATCH] udev: get rid of 'timestamp in the future' tar messages Petr Štetiar
  2010-01-27 18:02 ` Chris Larson
@ 2010-01-27 19:02 ` Koen Kooi
  2010-01-29 14:44 ` GNUtoo
  2 siblings, 0 replies; 4+ messages in thread
From: Koen Kooi @ 2010-01-27 19:02 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Acked-by: Koen Kooi <koen@openembedded.org>

On 27-01-10 18:58, Petr Štetiar wrote:
> 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@true.cz>
> ---
>  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"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLYI3YMkyGM64RGpERAtOnAJ0fuEwr3nf15aWgtGFyicC63zw/DwCfVVMQ
To9KI1WaIVVe1+DHwGEDA3Y=
=cMGK
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC][PATCH] udev: get rid of 'timestamp in the future' tar messages
  2010-01-27 17:58 [RFC][PATCH] udev: get rid of 'timestamp in the future' tar messages Petr Štetiar
  2010-01-27 18:02 ` Chris Larson
  2010-01-27 19:02 ` Koen Kooi
@ 2010-01-29 14:44 ` GNUtoo
  2 siblings, 0 replies; 4+ messages in thread
From: GNUtoo @ 2010-01-29 14:44 UTC (permalink / raw)
  To: openembedded-devel

On Wed, 2010-01-27 at 18:58 +0100, Petr Štetiar wrote:
> 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]
Nice,I had the issue with the bug device.
Denis.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-01-30 20:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-27 17:58 [RFC][PATCH] udev: get rid of 'timestamp in the future' tar messages Petr Štetiar
2010-01-27 18:02 ` Chris Larson
2010-01-27 19:02 ` Koen Kooi
2010-01-29 14:44 ` GNUtoo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.