bug on ln -f in sarge/installtools.sh [PATCH]
I'm trying to make some small CDs at home, just with the stuff to make a CD
install using debian-installer, so that we can test it without the need to
download a full CD, if I succeed I'll put that on gluck and make it
official.
The thing is that in making this I found a bug on
tools/sarge/installtools.sh we are now using a ln -f instead of the ln -sf
that we used on Woody. The result is that we are trying to link acrross
filesystems there if the mirror is on another filesystem and thus debian-cd
will break. If it doesn't break it is because the mirror is on the same
filesystem were we are building but then we are using a different file than
the one that is already on the CDs, so we are taking double space there.
This is the patch, if you agree with it I'll apply it.
--- tools/sarge/installtools.sh 2002-10-11 11:51:24.000000000 +0200
+++ /usr/share/debian-cd/tools/sarge/installtools.sh 2002-12-10 18:15:29.000000000 +0100
@@ -20,7 +20,7 @@
cd $DOCS
mkdir -p $DIR/install/$DOCDIR
if cp -a * $DIR/install/$DOCDIR/ ; then
- ln -f install.en.html $DIR/install/$DOCDIR/index.html
+ ln -f $DIR/install/$DOCDIR/install.en.html $DIR/install/$DOCDIR/index.html
else
echo "ERROR: Unable to copy boot-floppies documentation to CD."
fi
Regards...
--
Manty/BestiaTester -> http://manty.net
Reply to: