Re: Bug#759686: debian-installer: non-grub PXE boot images crash
- To: debian-hurd@lists.debian.org
- Subject: Re: Bug#759686: debian-installer: non-grub PXE boot images crash
- From: Steven Chamberlain <steven@pyro.eu.org>
- Date: Fri, 29 Aug 2014 20:52:06 +0100
- Message-id: <[🔎] 20140829195206.GA29997@squeeze.pyro.eu.org>
- In-reply-to: <54007B8F.8040407@pyro.eu.org>
- References: <[🔎] 5400607D.3030209@pyro.eu.org> <51B50725.3050105@pyro.eu.org> <handler.711799.B.137081834828984.ack@bugs.debian.org> <52F0674F.9070109@pyro.eu.org> <53FF3AE6.9020005@pyro.eu.org> <53FF4D0E.4000003@pyro.eu.org> <53FFAC4A.4040806@pyro.eu.org> <53FFE270.7070605@pyro.eu.org> <54007B8F.8040407@pyro.eu.org>
Hi,
I'd like to commit this debian-installer fix for kfreebsd, but also
make the same change for hurd, since I know the hurd netinst image for
PXE was broken in the same way.
Please could hurd porters let me know if this looks okay.
I haven't tested it by way of a debian-installer build on hurd, but it
should definitely be an improvement.
Thanks.
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,18 @@ debian-installer (2014XXXX) UNRELEASED; urgency=low
adding a syslinux-utils build-dep (Closes: #751731), no thanks to its
maintainer as far as cooperation is concerned (See: #751724, #759189).
+ [ Steven Chamberlain ]
+ * On kfreebsd and hurd, which use GRUB for PXE booting, request two
+ additional modules in the grub-mkimage step: (Closes: #759686)
+ - tftp: required since GRUB 2.02 otherwise PXE boot will crash/hang
+ - gfxterm_background: required since GRUB 2.02 for the boot splash
+ image functionality to be available
+ - raise the grub-pc (and indirectly grub-common) build dependency to
+ >= 2.02~beta2~ on these architectures, because module
+ gfxterm_background did not exist in GRUB 2.00
+ - raise the xorriso build dependency to >= 1.3.2-1~ on these
+ architectures, for compatibility with grub-mkrescue in GRUB 2.02
+
-- Cyril Brulebois <kibi@debian.org> Sat, 02 Aug 2014 02:59:35 +0200
debian-installer (20140802) unstable; urgency=low
--- a/debian/control
+++ b/debian/control
@@ -157,9 +157,9 @@ Build-Depends:
# Alternative boot method for win32 platforms.
makefs [kfreebsd-any],
# Used to create an UFS1 filesystem from a directory tree.
- grub-pc (>= 1.99-1~) [kfreebsd-i386 kfreebsd-amd64 hurd-i386],
+ grub-pc (>= 2.02~beta2~) [kfreebsd-i386 kfreebsd-amd64 hurd-i386],
# Used as the CD-ROM's bootloader
- xorriso [kfreebsd-i386 kfreebsd-amd64 hurd-i386],
+ xorriso (>= 1.3.2-1~) [kfreebsd-i386 kfreebsd-amd64 hurd-i386],
# Used by grub-pc to create the CD-ROM images
debian-ports-archive-keyring [sh4 sparc64],
# Used for architectures hosted on debian-ports.org
--- a/build/config/hurd.cfg
+++ b/build/config/hurd.cfg
@@ -33,7 +33,7 @@ GRUB_CFG_PXE=boot/hurd/grub-hurd-pxe.cfg
# GRUB modules
GRUB_PLATFORM=i386-pc
GRUB_MODDIR=/usr/lib/grub/$(GRUB_PLATFORM)
-GRUB_MODULES_PXE=pxe multiboot cpuid echo gfxterm gzio minicmd normal png vbe
+GRUB_MODULES_PXE=pxe tftp multiboot cpuid echo gfxterm gfxterm_background gzio minicmd normal png vbe
# Location for Xen example configuration.
XENCFG = $(SOME_DEST)/$(EXTRANAME)debian.cfg
--- a/build/config/kfreebsd.cfg
+++ b/build/config/kfreebsd.cfg
@@ -15,7 +15,7 @@ GRUB_CFG_PXE=boot/kfreebsd/grub-kfreebsd-pxe.cfg
# GRUB modules
GRUB_PLATFORM=i386-pc
GRUB_MODDIR=/usr/lib/grub/$(GRUB_PLATFORM)
-GRUB_MODULES_PXE=pxe bsd cpuid echo gfxterm gzio minicmd normal png vbe
+GRUB_MODULES_PXE=pxe tftp bsd cpuid echo gfxterm gfxterm_background gzio minicmd normal png vbe
# Location for Xen example configuration.
XENCFG = $(SOME_DEST)/$(EXTRANAME)debian.cfg
--
Steven Chamberlain
steven@pyro.eu.org
Reply to: