Fixing oversights from the big merge
This commit is contained in:
parent
a269a8fd4c
commit
634682f779
|
@ -152,7 +152,7 @@ extra_image () {
|
|||
if [ ! -d $CDDIR/install.386/$dir ]; then
|
||||
mkdir -p $CDDIR/install.386/$dir
|
||||
fi
|
||||
cp -a "$image" $CDDIR/install/$dir/
|
||||
cp -a "$image" $CDDIR/install.386/$dir/
|
||||
}
|
||||
|
||||
# Only disk one gets the extra files installed
|
||||
|
@ -161,8 +161,8 @@ if [ "$NN" = "1" ]; then
|
|||
for disk in $DISK_IMAGES $EXTRA_DISK_IMAGES; do
|
||||
if [ -e "$disk" ]; then
|
||||
dir=$(dirname $disk)
|
||||
mkdir -p $CDDIR/install/$dir
|
||||
cp -lf $disk $CDDIR/install/$dir
|
||||
mkdir -p $CDDIR/install.386/$dir
|
||||
cp -lf $disk $CDDIR/install.386/$dir
|
||||
fi
|
||||
done
|
||||
|
||||
|
@ -172,6 +172,12 @@ if [ "$NN" = "1" ]; then
|
|||
touch -r $BASEDIR/data/$DI_CODENAME/sbm.bin.gz $CDDIR/install/sbm.bin
|
||||
cp -p $BASEDIR/data/$DI_CODENAME/README.sbm $CDDIR/install/
|
||||
|
||||
# If the isolinux dir already exists, rename it aside for now
|
||||
if [ -e boot$N/isolinux/isolinux.cfg ] ; then
|
||||
mv boot$N/isolinux boot$N/isolinux-amd64
|
||||
mkdir boot$N/isolinux
|
||||
fi
|
||||
|
||||
# Isolinux setup including config and help files comes from d-i.
|
||||
cat cdrom/debian-cd_info.tar.gz | (cd boot$N/isolinux/; tar zx)
|
||||
if [ -e boot$N/isolinux/f3.txt.with26+gtk ]; then
|
||||
|
|
|
@ -157,7 +157,7 @@ for PKG in `cat $BDIR/packages` # | head -2000`
|
|||
do
|
||||
CDDIR=$BDIR/CD${DISKNUM}
|
||||
if [ ! -d $CDDIR ] ; then
|
||||
if [ $DISKNUM -gt $MAXCDS ] ; then
|
||||
if [ "$MAXCDS"x != ""x ] && [ $DISKNUM -gt $MAXCDS ] ; then
|
||||
echo "Disk #$DISKNUM is beyond the configured MAXCDS of $MAXCDS; exiting now..."
|
||||
MAX_DONE=1
|
||||
break
|
||||
|
|
|
@ -125,12 +125,12 @@ if [ $DISKNUM = 1 ] ; then
|
|||
echo " Adding .disk/cd_type"
|
||||
if [ $COMPLETE = 1 ]; then
|
||||
if [ $DISKTYPE = DVD ]; then
|
||||
echo "dvd" > $BDIR/CD$DISK/.disk/cd_type
|
||||
echo "dvd" > $CDDIR/.disk/cd_type
|
||||
else
|
||||
echo "full_cd" > $BDIR/CD$DISK/.disk/cd_type
|
||||
echo "full_cd" > $CDDIR/.disk/cd_type
|
||||
fi
|
||||
else
|
||||
echo "not_complete" > $BDIR/CD$DISK/.disk/cd_type
|
||||
echo "not_complete" > $CDDIR/.disk/cd_type
|
||||
fi
|
||||
|
||||
echo " Adding udeb/base includes/excludes"
|
||||
|
|
Loading…
Reference in New Issue