[oe-commits] org.oe.dev Unslung: rootfs: unsling: skip the lost+found directory
mwester commit
openembedded-commits at lists.openembedded.org
Sat Nov 11 20:09:08 UTC 2006
Unslung: rootfs: unsling: skip the lost+found directory
Author: mwester at openembedded.org
Branch: org.openembedded.dev
Revision: 2514e90184801c096284ce7869e8eb95ddf3a9db
ViewMTN: http://monotone.openembedded.org/revision.psp?id=2514e90184801c096284ce7869e8eb95ddf3a9db
Files:
1
packages/nslu2-binary-only/unslung-rootfs/unsling
Diffs:
#
# mt diff -r08f4988586fde46fc34e278580fadd7263df7d53 -r2514e90184801c096284ce7869e8eb95ddf3a9db
#
#
#
# patch "packages/nslu2-binary-only/unslung-rootfs/unsling"
# from [74858f08260255f3e470fc2874f3ccce80231c27]
# to [6f14fc63993d555372a975be038a9655232c4cb0]
#
============================================================
--- packages/nslu2-binary-only/unslung-rootfs/unsling 74858f08260255f3e470fc2874f3ccce80231c27
+++ packages/nslu2-binary-only/unslung-rootfs/unsling 6f14fc63993d555372a975be038a9655232c4cb0
@@ -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 -)
More information about the Openembedded-commits
mailing list