Bug#655158: pu: base-installer & libdebian-installer: Power 7 support
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: pu
Hi,
Debian Squeeze is currently not installable on Power 7 based IBM
pSeries, unless the Power 6 compatibility mode is enabled. Latest
version of QEMU is also emulating a Power 7 pSeries, but doesn't have
this compatibility mode, which make difficult to install Debian on it.
Given this can be fixed by two one liner in base-installer and
libdebian-installer, I think we should fix that in the next point
release. I have put below the diff, would it be ok to upload these
packages?
Thanks,
Aurelien
base-installer
--------------
diff --git a/debian/changelog b/debian/changelog
index 922120f..1732db0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+base-installer (1.115+squeeze1) squeeze; urgency=low
+
+ * Add POWER7 to the powerpc64 family. (Closes: #637519)
+
+ -- Aurelien Jarno <aurel32@debian.org> Tue, 03 Jan 2012 13:38:24 +0100
+
base-installer (1.115) unstable; urgency=low
[ Miguel Figueiredo ]
diff --git a/kernel/powerpc.sh b/kernel/powerpc.sh
index 34d18e9..578ba1a 100644
--- a/kernel/powerpc.sh
+++ b/kernel/powerpc.sh
@@ -1,7 +1,7 @@
arch_get_kernel_flavour () {
CPU=`grep '^cpu[[:space:]]*:' "$CPUINFO" | head -n1 | cut -d: -f2 | sed 's/^ *//; s/[, ].*//' | tr A-Z a-z`
case "$CPU" in
- power3|power4|power4+|ppc970*|power5|power5+|power6|power6x)
+ power3|power4|power4+|ppc970*|power5|power5+|power6|power6x|power7)
family=powerpc64 ;;
cell|i-star|s-star|pa6t|rs64-*)
family=powerpc64 ;;
libdebian-installer
-------------------
diff --git a/debian/changelog b/debian/changelog
index e7216d0..33227c6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libdebian-installer (0.77+squeeze3) squeeze; urgency=low
+
+ * Detect IBM pSeries platform as powerpc/chrp_ibm.
+
+ -- Aurelien Jarno <aurel32@debian.org> Tue, 03 Jan 2012 10:06:58 +0100
+
libdebian-installer (0.77+squeeze2) squeeze; urgency=low
* Upload to drop .git from source tarball
diff --git a/src/system/subarch-powerpc-linux.c b/src/system/subarch-powerpc-linux.c
index c4713e4..a91a434 100644
--- a/src/system/subarch-powerpc-linux.c
+++ b/src/system/subarch-powerpc-linux.c
@@ -34,6 +34,7 @@ static struct map map_platform[] = {
{ "Cell", "cell" },
{ "PA Semi", "pasemi" },
{ "Maple", "chrp_ibm" },
+ { "pSeries", "chrp_ibm" },
{ NULL, NULL }
};
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Reply to: