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

Bug#744155: debian-cd: patches for hppa arch (disable gzip kernels, use xorriso to build CD)

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

In Bug# 743879 I provided patches to fix the hppa arch.
One part was to enable gzip compressed Linux kernels.
Since I'm not 100% sure that it works on all systems, I'd like to disable this compression better for now, at least until I feel really comfortable with it.

Additionally, the attached patch switches hppa to use xorriso to build the iso image.
xorriso does work great on hppa, and in addition it does support kernel command lines to be up to 1023 bytes
(mkisofs only supports the older palo version 4 header format which can hold only 127 characters which might be too small).

It would be nice if you could apply this patch to debian-cd git repo (the attached patch is on top of the patch from #743879).

diff -up ./Makefile.org ./Makefile
--- ./Makefile.org	2014-04-09 20:05:54.396150182 +0000
+++ ./Makefile	2014-04-09 20:06:06.604147127 +0000
@@ -21,7 +21,7 @@ ifndef TASK
 ifndef MKISOFS
-ifneq (,$(filter i386 amd64,$(ARCHES)))
+ifneq (,$(filter i386 amd64 hppa,$(ARCHES)))
 export MKISOFS=xorriso
 export MKISOFS_OPTS=-as mkisofs -r -checksum_algorithm_iso md5,sha1
diff -up ./tools/boot/jessie/boot-hppa.org ./tools/boot/jessie/boot-hppa
--- ./tools/boot/jessie/boot-hppa.org	2014-04-09 20:06:34.008140248 +0000
+++ ./tools/boot/jessie/boot-hppa	2014-04-09 20:07:19.500128763 +0000
@@ -51,9 +51,8 @@ fi
 K32=$(basename "$DI_DIR"/vmlinux-*-parisc)
 K64=$(basename "$DI_DIR"/vmlinux-*-parisc64*)
-# palo >= 1.91 can load gzip-compressed Linux kernels
-gzip -c "$DI_DIR"/$K32 > "$CDROOT/install"/$K32
-gzip -c "$DI_DIR"/$K64 > "$CDROOT/install"/$K64
+cp "$DI_DIR"/$K32  "$CDROOT/install"/$K32
+cp "$DI_DIR"/$K64  "$CDROOT/install"/$K64
 cp "$DI_DIR"/initrd.gz "$CDROOT/install"
 install_languages "$CDROOT"

Reply to: