Readded the bitness thingy, which got lost before i had svn access.
This commit is contained in:
parent
5aaa17f9fc
commit
3adf94038b
|
@ -17,11 +17,7 @@ INSTALLDIR=$CDDIR/install
|
|||
if [ "$DI_WWW_HOME" = "default" ];then
|
||||
DI_WWW_HOME="http://people.debian.org/~luther/d-i/images/daily"
|
||||
if [ -n "$DI_DIR" ];then
|
||||
if [ ! -d "$DI_DIR" ];then
|
||||
DI_DIR="/org/gluck.debian.org/chroot/sid/home/luther/public_html/d-i/images/daily"
|
||||
else
|
||||
DI_DIR="$DI_DIR/~${DI_WWW_HOME#*~}"
|
||||
fi
|
||||
DI_DIR="$DI_DIR/~${DI_WWW_HOME#*~}"
|
||||
DI_WWW_HOME=""
|
||||
fi
|
||||
fi
|
||||
|
@ -95,13 +91,14 @@ cp $BASEDIR/data/etch/yaboot/ofboot.b ofboot.b
|
|||
|
||||
for subarch in powerpc powerpc64
|
||||
do
|
||||
bitness=${subarch#powerpc}
|
||||
if [ ! "$DI_WWW_HOME" ];then
|
||||
if [ ! "$DI_DIR" ];then
|
||||
DI_DIR="$MIRROR/dists/$DI_DIST/main/installer-$ARCH/current/images"
|
||||
fi
|
||||
cp -a "$DI_DIR/$subarch/cdrom" "$subarch"
|
||||
cp -a "$DI_DIR/$subarch/cdrom${bitness}" "$subarch"
|
||||
else
|
||||
wget -r -nd --no-parent --level=1 -P "$subarch" -R 'index*' "$DI_WWW_HOME/$subarch/cdrom/"
|
||||
wget -r -nd --no-parent --level=1 -P "$subarch" -R 'index*' "$DI_WWW_HOME/$subarch/cdrom${bitness}/"
|
||||
fi
|
||||
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue