Revert "start_new_disc: correct disk/cd-type for all types"

This reverts commit 15b482d49e.

Undo this change for now, as it's causing unexpected issues in
d-i. Changes here need to match up with the code in apt-setup to make
sure we get sensible behaviour all round.

Revisit this after the d-i alpha 5 relese.
This commit is contained in:
Steve McIntyre 2019-01-25 23:58:47 +00:00
parent a7328f65da
commit dc48123273
1 changed files with 1 additions and 19 deletions

View File

@ -199,25 +199,7 @@ if [ $DISKNUM = 1 ] ; then
fi fi
fi fi
else else
if [ $DISKTYPE = DVD ] || [ $DISKTYPE = DLDVD ]; then echo "not_complete" > $CDDIR/.disk/cd_type
if [ "$MAXCDS"x = "1"x ]; then
echo "dvd/single/not_complete" > $CDDIR/.disk/cd_type
else
echo "dvd/not_complete" > $CDDIR/.disk/cd_type
fi
elif [ $DISKTYPE = BD ] || [ $DISKTYPE = DLBD ]; then
if [ "$MAXCDS"x = "1"x ]; then
echo "bluray/single/not_complete" > $CDDIR/.disk/cd_type
else
echo "bluray/not_complete" > $CDDIR/.disk/cd_type
fi
else
if [ "$MAXCDS"x = "1"x ]; then
echo "cd/single/not_complete" > $CDDIR/.disk/cd_type
else
echo "cd/not_complete" > $CDDIR/.disk/cd_type
fi
fi
fi fi
if [ $NUM_ARCHES -gt 1 ]; then if [ $NUM_ARCHES -gt 1 ]; then