An alternative work around would be for debootstrap to move the log
outside of the debootstrap directory, unlink, then "rm -rf" the
debootstrap directory. This would leave the logs .nfs* file in the
chroot root until debootstrap completes:
if [ -e $TARGET/debootstrap/debootstrap.log ]; then
mv $TARGET/debootstrap/debootstrap.log $TARGET/debootstrap.log
rm $TARGET/debootstrap.log
fi
rm -rf "$TARGET/debootstrap"
Or just update the log copy section to move:
if [ -e $TARGET/debootstrap/debootstrap.log ]; then
if [ "$KEEP_DEBOOTSTRAP_DIR" = true ]; then
cp $TARGET/debootstrap/debootstrap.log $TARGET/var/log/bootstrap.log
else
mv $TARGET/debootstrap/debootstrap.log $TARGET/var/log/bootstrap.log
fi
fi
sync
--
ltsp-build-client needs to handle proxy settings for apt in the chroot
https://launchpad.net/bugs/65003
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs