diff options
author | Mike Westerhof <mwester@dls.net> | 2006-11-11 19:58:44 +0000 |
---|---|---|
committer | Mike Westerhof <mwester@dls.net> | 2006-11-11 19:58:44 +0000 |
commit | 446553e3d9f4f67edd09463954bbfa2582b72a8f (patch) | |
tree | 148e8ea8cdf2594db8bd7ddf1fb90d5a4c16941c /packages/nslu2-binary-only/unslung-rootfs/unsling | |
parent | 0c2df02716f3ac58962352d64cd19c4732d000d8 (diff) |
Unslung: rootfs: unsling: skip the lost+found directory
Diffstat (limited to 'packages/nslu2-binary-only/unslung-rootfs/unsling')
-rwxr-xr-x | packages/nslu2-binary-only/unslung-rootfs/unsling | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/nslu2-binary-only/unslung-rootfs/unsling b/packages/nslu2-binary-only/unslung-rootfs/unsling index 79584df8b7..6c4dc4ca52 100755 --- a/packages/nslu2-binary-only/unslung-rootfs/unsling +++ b/packages/nslu2-binary-only/unslung-rootfs/unsling @@ -185,9 +185,10 @@ fi # /usr/bin/find / -xdev -print | /usr/bin/cpio -p -d -m -u $targ # rm -rf $targ/dev ; mv $targ/dev.state $targ/dev # rm -rf $targ/var ; mv $targ/var.state $targ/var -echo "./var/tmp" > /tmp/xfile +echo "./var/tmp" > /tmp/xfile echo "./dev.state" >> /tmp/xfile echo "./var.state" >> /tmp/xfile +echo "./lost+found" >>/tmp/xfile mkdir -p /tmp/tmprootfs /bin/mount /dev/mtdblock4 /tmp/tmprootfs /bin/tar -c -C /tmp/tmprootfs -X /tmp/xfile -f - . | (cd $targ; /bin/tar -x -f -) |