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

Bug#416230: marked as done (debian-cd: support KERNEL_PARAMS for powerpc, alpha and sparc)

Your message dated Sun, 26 Oct 2008 23:47:03 +0000
with message-id <E1KuFK3-0006gW-AV@ries.debian.org>
and subject line Bug#416230: fixed in debian-cd 3.0.5
has caused the Debian Bug report #416230,
regarding debian-cd: support KERNEL_PARAMS for powerpc, alpha and sparc
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

416230: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=416230
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-cd
Version: 3.0.1
Severity: wishlist
Tags: patch

i make use of the KERNEL_PARAMS variable when creating custom
debian-installer CDs, but after trying to build a powerpc image, noticed
that it is only supported on i386 and amd64... why should other
architectures miss out on the fun?

please consider the attached patch (untested) to add support for
KERNEL_PARAMS to powerpc, alpha and sparc.

not sure how the other arches work to even try...

live well,
Index: tools/boot/etch/boot-powerpc
--- tools/boot/etch/boot-powerpc	(revision 1386)
+++ tools/boot/etch/boot-powerpc	(working copy)
@@ -75,6 +75,9 @@
  > boot.msg
 cat $BASEDIR/data/$DI_CODENAME/yaboot/yaboot.conf \
  | sed "s/CODENAME/${CODENAME}/g" > yaboot.conf
+if [ -n "$KERNEL_PARAMS" ]; then
+    sed -ie "s|append=\"|append=\"$KERNEL_PARAMS |g" yaboot.conf
 cp $BASEDIR/data/$DI_CODENAME/yaboot/ofboot.b ofboot.b
 for subarch in powerpc powerpc64 prep
@@ -123,5 +126,8 @@
 cp $BASEDIR/data/$DI_CODENAME/chrp/bootinfo.txt ppc
 mkdir etc
 cp $INSTALLDIR/yaboot.conf etc
+if [ -n "$KERNEL_PARAMS" ]; then
+    sed -ie "s|append=\"|append=\"$KERNEL_PARAMS |g" etc/yaboot.conf
 exit 0
Index: tools/boot/etch/boot-alpha
--- tools/boot/etch/boot-alpha	(revision 1386)
+++ tools/boot/etch/boot-alpha	(working copy)
@@ -80,9 +80,9 @@
     RSIZE=$(expr $(zcat boot$N/boot/initrd.gz | wc --bytes) / 1024)
     OPTS="ramdisk_size=$RSIZE initrd=/boot/initrd.gz root=/dev/ram devfs=mount,dall"
-    echo "0:boot/vmlinuz $OPTS"               >  boot$N/etc/aboot.conf
-    echo "1:boot/vmlinuz $OPTS console=ttyS0" >> boot$N/etc/aboot.conf
-    echo "2:boot/vmlinuz $OPTS console=ttyS1" >> boot$N/etc/aboot.conf
+    echo "0:boot/vmlinuz $OPTS $KERNEL_PARAMS"               >  boot$N/etc/aboot.conf
+    echo "1:boot/vmlinuz $OPTS console=ttyS0 $KERNEL_PARAMS" >> boot$N/etc/aboot.conf
+    echo "2:boot/vmlinuz $OPTS console=ttyS1 $KERNEL_PARAMS" >> boot$N/etc/aboot.conf
     mkdir -p boot$N/milo
Index: tools/boot/etch/boot-sparc
--- tools/boot/etch/boot-sparc	(revision 1386)
+++ tools/boot/etch/boot-sparc	(working copy)
@@ -46,6 +46,9 @@
 # Some custom etc files
 cp -f -p $BASEDIR/data/etch/sparc/silo.conf $inst/boot/
+if [ -n "$KERNEL_PARAMS" ]; then
+    sed -ie "s|append=\"|append=\"$KERNEL_PARAMS |g" $inst/boot/silo.conf
 cat $BASEDIR/data/etch/sparc/debian.txt \
  | sed "s/\${MEDIA_TYPE}/CDROM/" \
  | sed "s/\${DEBIAN_VERSION}/${CODENAME}/g" \

--- End Message ---
--- Begin Message ---
Source: debian-cd
Source-Version: 3.0.5

We believe that the bug you reported is fixed in the latest version of
debian-cd, which is due to be installed in the Debian FTP archive:

  to pool/main/d/debian-cd/debian-cd_3.0.5.dsc
  to pool/main/d/debian-cd/debian-cd_3.0.5.tar.gz
  to pool/main/d/debian-cd/debian-cd_3.0.5_all.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 416230@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Steve McIntyre <93sam@debian.org> (supplier of updated debian-cd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.8
Date: Sun, 26 Oct 2008 16:23:04 -0700
Source: debian-cd
Binary: debian-cd
Architecture: source all
Version: 3.0.5
Distribution: unstable
Urgency: low
Maintainer: Debian CD Group <debian-cd@lists.debian.org>
Changed-By: Steve McIntyre <93sam@debian.org>
 debian-cd  - Tools for building (Official) Debian CD set
Closes: 416230 470838 486360 489486 489562 491300 497270 497966
 debian-cd (3.0.5) unstable; urgency=low
   [ Steve McIntyre ]
   * Pre-cache apt's package information in large lumps rather than walk
     through it one package at a time. It's much faster. Closes: #470838
     Needs a small re-arrangement: code from tools/add_packages now
     moves into tools/make_disc_trees.pl
   * Update lenny's isolinux.bin to the one from syslinux 3.63+dfsg-1.
     Should help a user with an old Adaptec SCSI card who has been reporting
   * tools/imagesums: use newer features in latest mkisofs/genisoimage to grab
     pre-calculated MD5 and SHA1 checksums directly from the jigdo file.
   [ Frans Pop ]
   * Remove wireless-tools-udeb from the lenny udeb_include files as it is not
     required for wireless support (see also #474708).
   [ Joey Hess ]
   * Add support for a split syslinux.cfg file, which will later be provided
     to support the syslinux vesa menu.
   [ Santiago Garcia ]
   * Start to add armel support.
   [ Frans Pop ]
   * Drop the base-{etch,lenny} tasks files as make_disc_trees.pl already takes
     care of including packages needed by debootstrap.
   * generate_di+k_list: fix logic error in use of codenames.
     When building a CD for e.g. etch using D-I from e.g. sid, the script
     should update tasks/debian-installer+kernel-etch (instead of -sid), and
     that file should have '#include <debian-installer-sid>'. This means we'll
     no longer have to modify the Debian_* tasks in such cases.
   [ Raphael Hertzog ]
   * Switch debhelper compatibility level to 5 and use debian/compat
     instead of DH_COMPAT.
   * Clean up debian/rules a bit.
   [ Joey Hess ]
   * Add per-language desktop tasks to the task.list files.
   * Path to sparc daily builds has changed.
   [ Frans Pop ]
   * Update tasksel tasks for Lenny Beta2.
   [ Steve McIntyre ]
   * tools/update_tasks: Significant streamlining to make a huge difference in
     runtime. Now feasible to run this automatically per-build rather than
     cronning it.
   [ Joey Hess ]
   * Update isolinux to version 3.63+dfsg-2 (featuring 'menu default64'
   [ Steve McIntyre ]
   * tools/make-firmware-image: Simple script to create .tar.gz and
     .zip files containing non-free firmware and microcode packages.
   * Add support for dual-layer DVD, Blu-Ray and dual-layer Blu-Ray
     discs. Nothing special, just extra sizes recognised.
   * Fix bashism in tools/grab_md5. Closes: #489562
   * Change lynx dependency to use lynx-cur|lynx instead. Closes: #489486
   * Add sanity check for data passed to add_packages.
   * Workaround to avoid errors when building images for Etch+1/2 (using
     packages from stable but D-I/udebs from testing): don't include source
     for udebs in images. See also #490652.
   [ Frans Pop ]
   * Support including packages from proposed-updates.
     This can be useful for pre-release testing of point releases, but should
     be used with care when CDs are intended to be published.
   * build.sh: after the earlier change in generate_di+k_list in this release,
     this script should also use the debian-installer+kernel task for the
     requested codename, and not the used D-I release.
   * build_all.sh: make setting of TASK consistent with build.sh.
   [ Joey Hess ]
   * Disable zd1211-firmware as its dependencies currently
     break d-i. (See #492205)
   [ Steve McIntyre ]
   * Applied patch from Robert Millan <rmh@aybabtu.com> to allow choice of
     desktop when building for win32-loader. Closes: #491300.
   [ Frans Pop ]
   * Include packages needed for systems using loop-aes encryption on
     installation CDs. Closes: #486360.
   [ Otavio Salvador ]
   * Include speakup and atl2 modules for i386 and amd64 medias.
   * Include multipath-tools-boot for all medias.
   [ Steve McIntyre ]
   * Add the "-joliet-long" option when making images with Joliet names.
     Some packages with ridiculously long names are not unique in the
     first 64 characters, so normal Joliet sorting fails.
   * Cope better with source/binary package mismatches in
   * Improve control over production of iso and jigdo files. Replace the
     simple DOJIGDO config option with MAXISOS and MAXJIGDOS, allowing
     more flexibility. Allows us to only produce a small number of iso
     images for less-popular architectures but still produce all the jigdo
     files, saving a lot of disk space.
   * Recommend syslinux-common instead of syslinux. Closes: #497966
   * Major licensing problem cleanup: (Closes: #497270)
     + Remove binary blobs from the package; pull those files from the
       .debs in the archive as needed (isolinux.bin, vesamenu.c32)
     + sbm.bin no longer needed, so dropped it
     + Pull out the code to find the right deb and put it in a new helper
       shell script (tools/which_deb), called from Makefile and boot-* as
   * Support KERNEL_PARAMS for powerpc, alpha and sparc (Closes: #416230)
     Thanks to Vagrant Cascadian for the patch.
   [ Frans Pop ]
   * Allow to skip generating MD5 and SHA1 sums files.
   * Add alsa-base and alsa-utils to forcd1 for Lenny as they are no longer
     key packages in the desktop task, but we do want them on the first CD.
   * Drop support for building Sarge CDs.
   * Allow multi-arch builds using D-I images from official mirrors or local
     D-I images.
   * Add easy-build.sh, a wrapper script for building images that takes care
     of a lot of the gotchas that can make debian-cd hard to use.
   * CONF.sh: change default CODENAME to lenny; change example paths to mirror
     to /srv/mirror.
   * Exclude 686-bigmem kernel udebs as they are only used for Xen netboot.
   * Stop including jfbterm and unifont on all images; jbfterm is no longer
     installed from D-I.
   * Update and cleanup the udeb exclusion lists for lenny (general list and
     lists for i386 and amd64).
 bb34411938c22d479f4251e5c5a1bf4d939a6e26 977 debian-cd_3.0.5.dsc
 7f3d4bc5b7bdecb066195f2d502ff7abf3ff3b93 783577 debian-cd_3.0.5.tar.gz
 245415bab9a25fb8defaa97a85495a747f59da5d 783880 debian-cd_3.0.5_all.deb
 7568acfdbaf6eb1b36af6d99895d83c4ec45d56d3456b9e3b91717586cbccb03 977 debian-cd_3.0.5.dsc
 4c9f0bec75a534c57aecb6850af2efc89bb628b930497b3e6a9a7e9bd7cb927a 783577 debian-cd_3.0.5.tar.gz
 07fd07ab03ad6f0110feb4e5e2f90da3eb0a74c21ff343f84fca7d61fc6d82ac 783880 debian-cd_3.0.5_all.deb
 2edcac69424da096d9fd4535bef224a0 977 admin extra debian-cd_3.0.5.dsc
 a1c37c2584ac2130938c70056eed7e52 783577 admin extra debian-cd_3.0.5.tar.gz
 502f06131372063a4e3f83a6e12916fd 783880 admin extra debian-cd_3.0.5_all.deb

Version: GnuPG v1.4.9 (GNU/Linux)


--- End Message ---

Reply to: