From bb7e7bf9b91cbd3b50a5060a7ebd9fa0d76bb0ae Mon Sep 17 00:00:00 2001 From: Steve McIntyre Date: Thu, 21 Mar 2019 13:06:51 +0000 Subject: [PATCH] Remove massively obsolete disks-$ARCH stuff That went away with boot floppies! --- tools/start_new_disc | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/tools/start_new_disc b/tools/start_new_disc index 5adda9b7..fa720744 100755 --- a/tools/start_new_disc +++ b/tools/start_new_disc @@ -281,26 +281,6 @@ if [ $DISKNUM = 1 ] ; then $BASEDIR/tools/$CODENAME/installtools.sh $CDDIR "$ARCHES" 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. if [ -s $BDIR/sourcetoobig ] ; then echo " Adding README.excluded (some source files were too big)"