Don't check source-only discs for installability of base

This commit is contained in:
Steve McIntyre 2006-12-08 16:00:36 +00:00
parent d3aa586a36
commit 44b17db956
1 changed files with 19 additions and 19 deletions

View File

@ -101,26 +101,26 @@ finish_disc () {
CDDIR=$1
NOT=$2
if [ $DISKNUM = 1 ] ; then
for ARCH in $ARCHES_NOSRC
do
echo " Checking base is installable for $ARCH"
ARCHOK=`check_base_installable $ARCH $CDDIR`
if [ $ARCHOK -gt 0 ] ; then
echo " $ARCH is missing $ARCHOK files needed for debootstrap, look in $LOG for the list"
fi
ok=$(($ok + $ARCHOK))
done
if [ $ok = 0 ] ; then
touch $CDDIR/.disk/base_installable
echo " all files needed for debootstrap"
else
echo " $ok files missing for debootstrap, not creating base_installable"
if [ "$DISKTYPE"x = "BC"x ] ; then
echo " This is expected - building a BC"
fi
if [ $DISKNUM = 1 ] && [ "$ARCHES"x != "source"x ] ; then
for ARCH in $ARCHES_NOSRC
do
echo " Checking base is installable for $ARCH"
ARCHOK=`check_base_installable $ARCH $CDDIR`
if [ $ARCHOK -gt 0 ] ; then
echo " $ARCH is missing $ARCHOK files needed for debootstrap, look in $LOG for the list"
fi
echo "$ok files missing for debootstrap" >> $LOG
ok=$(($ok + $ARCHOK))
done
if [ $ok = 0 ] ; then
touch $CDDIR/.disk/base_installable
echo " all files needed for debootstrap"
else
echo " $ok files missing for debootstrap, not creating base_installable"
if [ "$DISKTYPE"x = "BC"x ] ; then
echo " This is expected - building a BC"
fi
fi
echo "$ok files missing for debootstrap" >> $LOG
fi
echo " Finishing off md5sum.txt"