(1) find:
I got the line numbers wrong as well:
@@ -486,7 +486,7 @@
umount $NFSROOT/dev/pts 1>/dev/null 2>&1 || true
rm -rf $NFSROOT/.??* $NFSROOT/*
# also remove files $NFSROOT/.? but not . and ..
- find $NFSROOT ! -type d -xdev -maxdepth 1 | xargs -r rm -f
+ find $NFSROOT -xdev -maxdepth 1 ! -type d | xargs -r rm -f
fi
(2) tar:
The warning that tar emits is:
tar: Semantics of -l option will change in the future releases.
tar: Please use --one-file-system option instead.
The following patch should fix it:
--- /usr/sbin/make-fai-nfsroot.orig 2006-01-03 03:43:34.000000000 +0200
+++ /usr/sbin//make-fai-nfsroot 2006-01-03 11:50:34.000000000 +0200
@@ -237,7 +237,7 @@
$ROOTCMD apt-get clean
rm -f $NFSROOT/etc/resolv.conf
echo "Creating base.tgz"
- tar -l -C $NFSROOT -cf - --exclude var/tmp/base.tgz . | gzip >
$NFSROOT/var/tmp/base.tgz
+ tar --one-file-system -C $NFSROOT -cf - --exclude var/tmp/base.tgz . |
gzip > $NFSROOT/var/tmp/base.tgz
else
die "\$FAI_DEBOOTSTRAP not defined."
fi
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]