Add graphical installer image for kfreebsd-amd64. Closes: #651530
This commit is contained in:
parent
42dc0f142e
commit
4241d811cb
|
@ -42,6 +42,7 @@ debian-cd (3.1.8) UNRELEASED; urgency=low
|
|||
|
||||
[ Robert Millan ]
|
||||
* Add kfreebsd 9. Closes: #650926
|
||||
* Add graphical installer image for kfreebsd-amd64. Closes: #651530
|
||||
|
||||
-- Steve McIntyre <93sam@debian.org> Tue, 07 Jun 2011 23:03:42 +0100
|
||||
|
||||
|
|
|
@ -42,6 +42,10 @@ fi
|
|||
# Download boot images.
|
||||
BOOT_IMAGES="cdrom/debian-cd_info.tar.gz cdrom/kfreebsd.gz cdrom/kfreebsd-9.gz cdrom/initrd.gz"
|
||||
|
||||
if [ "$ARCH" = kfreebsd-amd64 ]; then
|
||||
BOOT_IMAGES="$BOOT_IMAGES cdrom/gtk/initrd.gz"
|
||||
fi
|
||||
|
||||
for image in $BOOT_IMAGES; do
|
||||
if [ ! -e "$image" ]; then
|
||||
dir=$(dirname $image)
|
||||
|
@ -63,6 +67,11 @@ cp "cdrom/kfreebsd.gz" "$CDDIR/boot/kernel/kfreebsd.gz"
|
|||
cp "cdrom/kfreebsd-9.gz" "$CDDIR/boot/kernel/kfreebsd-9.gz" || true
|
||||
cp "cdrom/initrd.gz" "$CDDIR/boot/mfsroot.gz"
|
||||
|
||||
if [ "$ARCH" = kfreebsd-amd64 ]; then
|
||||
mkdir -p $CDDIR/boot/gtk/
|
||||
cp "cdrom/gtk/initrd.gz" "$CDDIR/boot/gtk/mfsroot.gz"
|
||||
fi
|
||||
|
||||
# Install bootloader
|
||||
mkdir -p boot$N
|
||||
tar -C boot$N -zxf cdrom/debian-cd_info.tar.gz
|
||||
|
|
Loading…
Reference in New Issue