[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#387255: debian-cd: breakage when using KERNEL_PARAM



Package: debian-cd
Version: 2.2.24
Severity: normal
Tags: patch

when building an image and setting the KERNEL_PARAMS variable, the
generated CD sandwiches KERNEL_PARAMS against the default options
without any space. i.e., my bootprompt line ended up like this:

"... console-tools/archs=skip-configvga=normal initrd=/install/2.6/initrd.gz ..."

attached is a patch which should fix it.

live well,
  vagrant

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages debian-cd depends on:
ii  apt                      0.6.45          Advanced front-end for dpkg
ii  apt-utils                0.6.45          APT utility programs
ii  bc                       1.06-19         The GNU bc arbitrary precision cal
ii  cpp                      4:4.1.1-5       The GNU C preprocessor (cpp)
ii  debootstrap              0.3.3           Bootstrap a basic Debian system
ii  grep-dctrl               2.9.0           Grep Debian package information - 
ii  lynx                     2.8.5-2sarge1.1 Text-mode WWW Browser
ii  make                     3.81-2          The GNU version of the "make" util
ii  mkisofs                  4:2.01+01a03-5  Creates ISO-9660 CD-ROM filesystem
ii  perl [libdigest-md5-perl 5.8.8-6.1       Larry Wall's Practical Extraction 
ii  sysutils                 2.0.1           Miscellaneous small system utiliti

Versions of packages debian-cd recommends:
ii  debianutils                   2.17       Miscellaneous utilities specific t
pn  hfsutils                      <none>     (no description available)
pn  jigdo-file                    <none>     (no description available)

-- no debconf information
--- /usr/share/debian-cd/tools/boot/etch/boot-i386	2006-03-06 17:43:17.000000000 -0600
+++ boot-i386	2006-09-13 03:00:06.000000000 -0500
@@ -167,7 +167,7 @@
 	if [ -n "$KERNEL_PARAMS" ]; then
 		# Substitute custom kernel params into the isolinux config
 		# file.
-		sed -i "s|append |append $KERNEL_PARAMS|" boot$N/isolinux/isolinux.cfg
+		sed -i "s|append |append $KERNEL_PARAMS |" boot$N/isolinux/isolinux.cfg
 	fi
 fi
 

Reply to: