summaryrefslogtreecommitdiff
path: root/meta/packages/udev/files
diff options
context:
space:
mode:
authorKevin Tian <kevin.tian@intel.com>2010-08-16 13:16:24 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-17 22:55:44 +0100
commitdb5c145af18e01d4115ecb2187b56c29ea863114 (patch)
treee2f96c803c2c0815c396347888630bcd154392e8 /meta/packages/udev/files
parent07adcbaf97a5cdb166bfcabde6c52a2a21ea572e (diff)
downloadopenembedded-core-db5c145af18e01d4115ecb2187b56c29ea863114.tar.gz
openembedded-core-db5c145af18e01d4115ecb2187b56c29ea863114.tar.bz2
openembedded-core-db5c145af18e01d4115ecb2187b56c29ea863114.tar.xz
openembedded-core-db5c145af18e01d4115ecb2187b56c29ea863114.zip
udev: use relative path when creating dev.tar
this effectively removes below warning: tar: removing leading '/' from member names Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Diffstat (limited to 'meta/packages/udev/files')
-rw-r--r--meta/packages/udev/files/udev-cache2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/packages/udev/files/udev-cache b/meta/packages/udev/files/udev-cache
index a4e91915b..77bbda6f1 100644
--- a/meta/packages/udev/files/udev-cache
+++ b/meta/packages/udev/files/udev-cache
@@ -14,7 +14,7 @@
[ -x /sbin/udevd ] || exit 1
if [ ! -e /etc/dev.tar ]; then
- (cd /; tar cf /etc/dev.tar /dev)
+ (cd /; tar cf /etc/dev.tar dev)
fi
exit 0