cope with the FreeBSD v9 images not being in the current squeeze release

This commit is contained in:
cd-builder user 2011-12-14 15:40:46 +00:00
parent 353bad5355
commit fb2524035f
1 changed files with 2 additions and 2 deletions

View File

@ -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