Remove massively obsolete disks-$ARCH stuff

That went away with boot floppies!
This commit is contained in:
Steve McIntyre 2019-03-21 13:06:51 +00:00
parent 53cfc9f3f5
commit bb7e7bf9b9
1 changed files with 0 additions and 20 deletions

View File

@ -281,26 +281,6 @@ if [ $DISKNUM = 1 ] ; then
$BASEDIR/tools/$CODENAME/installtools.sh $CDDIR "$ARCHES" $BASEDIR/tools/$CODENAME/installtools.sh $CDDIR "$ARCHES"
fi fi
for ARCH in $ARCHES
do
if [ -e $MIRROR/dists/$DI_CODENAME/main/disks-$ARCH ] ; then
echo " Adding disks-$ARCH stuff ..."
mkdir -p $CDDIR/dists/$DI_CODENAME/main/disks-$ARCH
$BASEDIR/tools/add_files $CDDIR/dists/$DI_CODENAME/main/disks-$ARCH $MIRROR/dists/$DI_CODENAME/main/disks-$ARCH .
touch $CDDIR/.disk/kernel_installable
cd $CDDIR/dists/$DI_CODENAME/main/disks-$ARCH
rm -rf base-images-*
if [ -L current ] ; then
CURRENT_LINK=`readlink current`
mv $CURRENT_LINK .tmp_link
rm -rf [0123456789]*
mv .tmp_link $CURRENT_LINK
elif [ -d current ] ; then
rm -rf [0123456789]*
fi
fi
done
# See if we had to remove anything because it was too big. Warn the user. # See if we had to remove anything because it was too big. Warn the user.
if [ -s $BDIR/sourcetoobig ] ; then if [ -s $BDIR/sourcetoobig ] ; then
echo " Adding README.excluded (some source files were too big)" echo " Adding README.excluded (some source files were too big)"