summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/udev/udev/udev-cache
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/udev/udev/udev-cache')
-rw-r--r--meta/recipes-core/udev/udev/udev-cache3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/udev/udev/udev-cache b/meta/recipes-core/udev/udev/udev-cache
index c08cef2eed..ec07f50cc0 100644
--- a/meta/recipes-core/udev/udev/udev-cache
+++ b/meta/recipes-core/udev/udev/udev-cache
@@ -27,7 +27,8 @@ fi
27if [ "$DEVCACHE" != "" -a -e /dev/shm/udev.cache ]; then 27if [ "$DEVCACHE" != "" -a -e /dev/shm/udev.cache ]; then
28 echo "Populating dev cache" 28 echo "Populating dev cache"
29 (cd /; tar cf "${DEVCACHE_TMP}" dev) 29 (cd /; tar cf "${DEVCACHE_TMP}" dev)
30 mv -f "${DEVCACHE_TMP}" "$DEVCACHE" 30 gzip < "${DEVCACHE_TMP}" > "$DEVCACHE"
31 rm -f "${DEVCACHE_TMP}"
31 mv /dev/shm/udev.cache /etc/udev/cache.data 32 mv /dev/shm/udev.cache /etc/udev/cache.data
32fi 33fi
33 34