aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/udev/udev.inc
diff options
context:
space:
mode:
authorRichard Tollerton <rich.tollerton@ni.com>2014-08-22 16:30:51 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-23 23:01:35 +0100
commitb31f8f1f053cdfa9428e3f667c05e7e2c600061e (patch)
tree63ac30923af50f2c8848c857fc3602191e056981 /meta/recipes-core/udev/udev.inc
parent11a772b3297ef36f3ebc4b67c9477022352d1c55 (diff)
downloadopenembedded-core-contrib-b31f8f1f053cdfa9428e3f667c05e7e2c600061e.tar.gz
udev-cache: strip timestamps on extract
Under normal udev operation, device nodes are obviously timestamped based on the system time at current boot. However, when using udev-cache, they are timestamped from a previous boot. The existence of machines lacking RTCs makes this more than a cosmetic issue: if the current time is set further on in the boot, so that the system time is still 1970 by the time the cache is extracted, tar will print a timestamp warning for every extracted file (potentially hundreds of them). To fix, use -m on extract. If using busybox `tar`, this commit requires CONFIG_FEATURE_TAR_NOPRESERVE_TIME=y. Signed-off-by: Richard Tollerton <rich.tollerton@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/udev/udev.inc')
0 files changed, 0 insertions, 0 deletions