From 4241d811cb75a767a6262119cfba4a22667a9287 Mon Sep 17 00:00:00 2001 From: Steve McIntyre <93sam@debian.org> Date: Sat, 3 Mar 2012 22:50:10 +0000 Subject: [PATCH] Add graphical installer image for kfreebsd-amd64. Closes: #651530 --- debian/changelog | 1 + tools/boot/wheezy/boot-kfreebsd | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/debian/changelog b/debian/changelog index beedc898..23847d5b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 diff --git a/tools/boot/wheezy/boot-kfreebsd b/tools/boot/wheezy/boot-kfreebsd index 81e0ec1a..27c80836 100644 --- a/tools/boot/wheezy/boot-kfreebsd +++ b/tools/boot/wheezy/boot-kfreebsd @@ -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