From: Richard Tollerton <rich.toller...@ni.com> Don't hold up the boot while the cache tarball is created.
Natinst-Rally-ID: TA44427 Acked-by: Gratian Crisan <gratian.cri...@ni.com> Natinst-ReviewBoard-ID: 58620 Signed-off-by: Richard Tollerton <rich.toller...@ni.com> --- meta/recipes-core/udev/udev/udev-cache | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/meta/recipes-core/udev/udev/udev-cache b/meta/recipes-core/udev/udev/udev-cache index 679adb4..e730608 100644 --- a/meta/recipes-core/udev/udev/udev-cache +++ b/meta/recipes-core/udev/udev/udev-cache @@ -25,9 +25,11 @@ fi if [ "$DEVCACHE" != "" -a -e /dev/shm/udev.cache ]; then [ "${VERBOSE}" != "no" ] && echo "Populating dev cache" - tar czf "${DEVCACHE}.tmp" dev -C / --exclude=log - mv -f "${DEVCACHE}.tmp" "$DEVCACHE" - mv /dev/shm/udev.cache /etc/udev/cache.data + ( + tar czf "${DEVCACHE}.tmp" dev -C / --exclude=log + mv -f "${DEVCACHE}.tmp" "$DEVCACHE" + mv /dev/shm/udev.cache /etc/udev/cache.data + ) & fi exit 0 -- 2.0.4 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core