Make sure we use the specified mkisofs in make_disc_trees

Make the missing-base-files debootstrap errors less scary-looking
This commit is contained in:
Steve McIntyre 2006-12-08 09:46:18 +00:00
parent 73f3f85b6b
commit 2d1735aa21
2 changed files with 7 additions and 3 deletions

View File

@ -277,7 +277,7 @@ image-trees: ok genlist
else \
$(merge_package_lists) $(BDIR) $(ADIR) "$(ARCHES)" $(BDIR)/packages; \
fi
make_disc_trees $(BASEDIR) $(MIRROR) $(TDIR) $(CODENAME) "$(ARCHES)"
make_disc_trees $(BASEDIR) $(MIRROR) $(TDIR) $(CODENAME) "$(ARCHES)" $(MKISOFS)
# Generate the complete listing of packages from the task
# Build a nice list without doubles and without spaces

View File

@ -11,6 +11,7 @@ MIRROR=$2
TDIR=$3
CODENAME=$4
ARCHES=$5
MKISOFS=$6
LIST=$TDIR/list
LIST_EX=$TDIR/list.exclude
@ -69,7 +70,7 @@ PKGS_THIS_CD=0
PKGS_DONE=0
SIZE=0
OVERFLOWPKG=""
MKISOFS_CHECK="mkisofs -r -print-size -quiet"
MKISOFS_CHECK="$MKISOFS -r -print-size -quiet"
#############################################
#
@ -83,7 +84,7 @@ check_base_installable () {
for p in `debootstrap --arch $ARCH --print-debs $CODENAME $TDIR/debootstrap.tmp file:$MIRROR $DEBOOTSTRAP_SCRIPT 2>/dev/null`
do
if ! grep -q "^Package: $p$" $CDDIR/dists/$CODENAME/main/binary-$ARCH/Packages ; then
if ! grep -q "^Package: $p$" $CDDIR/dists/$CODENAME/main/binary-$ARCH/Packages 2>/dev/null; then
if [ -n "$BASE_EXCLUDE" ] && grep -q ^$p$ $BASE_EXCLUDE ; then
echo "Missing debootstrap-required $p but included in $BASE_EXCLUDE" >> $LOG
continue
@ -115,6 +116,9 @@ finish_disc () {
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