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

Bug#397585: debian-installer: Please add support for QEMU mips/mipsel in partman



Package: debian-installer
Severity: wishlist
Tags: patch

Hi,

The package linux-2.6 version 2.6.18-5 will add the QEMU flavour on mips
and mipsel.

debian-installer is working correctly under QEMU, but it tells that it
doesn't know the type of partition type on this architecture. The
attached patches, one for libdebian-installer, the other for
partman-base fix that.

Could you please apply them?

Thanks,
Aurelien


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-amd64-k8-smp
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8)
Index: src/system/subarch-mips-linux.c
===================================================================
--- src/system/subarch-mips-linux.c	(révision 42530)
+++ src/system/subarch-mips-linux.c	(copie de travail)
@@ -44,6 +44,11 @@
 	{ NULL, "unknown" }
 };
 
+static struct cpu system_qemu_cpu[] = {
+	{ "MIPS 4Kc", "qemu-mips32" },
+	{ NULL, "unknown" }
+}
+
 /* add new system types here */
 
 static struct cpu system_unknown_cpu[] = {
@@ -60,6 +65,8 @@
 	{"SGI O2", system_sgi_o2_cpu },
 	/* match Broadcom SB1 development boards */
 	{"SiByte BCM9", system_sibyte_sb1_cpu },
+	/* QEMU */
+	{"Qemu", system_qemu_cpu },
 	/* add new system types here */
 	{ NULL, system_unknown_cpu }
 };
Index: src/system/subarch-mipsel-linux.c
===================================================================
--- src/system/subarch-mipsel-linux.c	(révision 42530)
+++ src/system/subarch-mipsel-linux.c	(copie de travail)
@@ -41,6 +41,11 @@
 	{ NULL, "unknown" }
 };
 
+static struct cpu system_qemu_cpu[] = {
+	{ "MIPS 4Kc", "qemu-mips32" },
+	{ NULL, "unknown" }
+}
+
 /* add new system types here */
 
 static struct cpu system_unknown_cpu[] = {
@@ -70,6 +75,8 @@
 	{"Cobalt ", system_cobalt_cpu },
 	/* Broadcom based APs/NAS */
 	{"Broadcom BCM947XX", system_bcm_bcm947xx_cpu },
+	/* QEMU */
+	{"Qemu", system_qemu_cpu },
 	/* add new system types here */
 	{ NULL, system_unknown_cpu }
 };
Index: definitions.sh
===================================================================
--- definitions.sh	(révision 42530)
+++ definitions.sh	(copie de travail)
@@ -889,6 +889,9 @@
 		# Broadcom SB1 evaluation boards
 		sb1-bcm91250a | sb1a-bcm91480b)
 		    echo msdos;;
+		# QEMU
+		qemu-mips32)
+		    echo msdos;;
 		*)
 		    echo UNKNOWN;;
 	    esac;;
@@ -906,6 +909,9 @@
 		    echo msdos;;
 		bcm947xx)
 		    echo msdos;;
+		# QEMU
+		qemu-mips32)
+		    echo msdos;;
 		*)
 		    echo UNKNOWN;;
 	    esac;;

Reply to: