cope with the FreeBSD v9 images not being in the current squeeze release
This commit is contained in:
parent
353bad5355
commit
fb2524035f
|
@ -50,7 +50,7 @@ for image in $BOOT_IMAGES; do
|
|||
if [ ! "$DI_DIR" ];then
|
||||
DI_DIR="$MIRROR/dists/$DI_DIST/main/installer-$ARCH/current/images"
|
||||
fi
|
||||
cp "$DI_DIR/$image" $image
|
||||
cp "$DI_DIR/$image" $image || true
|
||||
else
|
||||
wget "$DI_WWW_HOME/$image" -O $image
|
||||
fi
|
||||
|
@ -60,7 +60,7 @@ done
|
|||
# Install kernel and initrd
|
||||
mkdir -p $CDDIR/boot/kernel/
|
||||
cp "cdrom/kfreebsd.gz" "$CDDIR/boot/kernel/kfreebsd.gz"
|
||||
cp "cdrom/kfreebsd-9.gz" "$CDDIR/boot/kernel/kfreebsd-9.gz"
|
||||
cp "cdrom/kfreebsd-9.gz" "$CDDIR/boot/kernel/kfreebsd-9.gz" || true
|
||||
cp "cdrom/initrd.gz" "$CDDIR/boot/mfsroot.gz"
|
||||
|
||||
# Install bootloader
|
||||
|
|
Loading…
Reference in New Issue