alpha: fix unpacking aboot-base, copy versioned vmlinuz file correctly.
This commit is contained in:
parent
e799e742c0
commit
39bdaf29b2
|
@ -54,7 +54,7 @@ fi
|
||||||
|
|
||||||
mkdir boot$N
|
mkdir boot$N
|
||||||
ab_deb=`ls $MIRROR/pool/main/a/aboot/aboot-base_*.deb | tail -1`
|
ab_deb=`ls $MIRROR/pool/main/a/aboot/aboot-base_*.deb | tail -1`
|
||||||
ar p $ab_deb data.tar.gz | tar zxf - -C boot$N/ ./boot/bootlx
|
(dpkg --fsys-tarfile "$ab_deb" | tar xf - -C boot$N/ ./boot/bootlx)
|
||||||
|
|
||||||
# Download boot images
|
# Download boot images
|
||||||
# XXX: Driver floppies? Any alpha that /has/ a CDROM should be able to
|
# XXX: Driver floppies? Any alpha that /has/ a CDROM should be able to
|
||||||
|
@ -67,7 +67,8 @@ for image in initrd.gz vmlinuz; do
|
||||||
if [ ! "$DI_DIR" ];then
|
if [ ! "$DI_DIR" ];then
|
||||||
DI_DIR="$MIRROR/dists/$DI_DIST/main/installer-$ARCH/current/images/cdrom"
|
DI_DIR="$MIRROR/dists/$DI_DIST/main/installer-$ARCH/current/images/cdrom"
|
||||||
fi
|
fi
|
||||||
cp "$DI_DIR/$image" .
|
ab_file=`ls "$DI_DIR"/$image* | tail -1`
|
||||||
|
cp "$ab_file" .
|
||||||
else
|
else
|
||||||
wget "$DI_WWW_HOME/$image"
|
wget "$DI_WWW_HOME/$image"
|
||||||
fi
|
fi
|
||||||
|
@ -76,7 +77,8 @@ done
|
||||||
|
|
||||||
echo "Using $THISTYPE boot-disks image on CD$N"
|
echo "Using $THISTYPE boot-disks image on CD$N"
|
||||||
mkdir -p boot$N/boot
|
mkdir -p boot$N/boot
|
||||||
cp initrd.gz vmlinuz boot$N/boot/
|
cp initrd.gz boot$N/boot/
|
||||||
|
cp vmlinuz* boot$N/boot/vmlinuz
|
||||||
mkdir -p boot$N/etc
|
mkdir -p boot$N/etc
|
||||||
|
|
||||||
RSIZE=$(expr $(zcat boot$N/boot/initrd.gz | wc --bytes) / 1024)
|
RSIZE=$(expr $(zcat boot$N/boot/initrd.gz | wc --bytes) / 1024)
|
||||||
|
|
Loading…
Reference in New Issue