[Patch] use fdisk not cfdisk on mips
Cfdisk can't create an sgi disklabel, so we use fdisk on mips/ip22 as
default. Please apply.
Regards,
-- Guido
Index: utilities/dbootstrap/partition_config.c
===================================================================
RCS file: /cvs/debian-boot/boot-floppies/utilities/dbootstrap/partition_config.c,v
retrieving revision 1.76
diff -u -r1.76 partition_config.c
--- utilities/dbootstrap/partition_config.c 2001/07/19 08:56:42 1.76
+++ utilities/dbootstrap/partition_config.c 2001/08/03 23:39:08
@@ -184,6 +184,13 @@
"disk it is loaded from. Therefore, if this disk will contain the boot\n"
"loader, you must create a partition of type 'ef' of at least 32MB.\n"),
_("Note on ELILO installation"));
+#elif #cpu(mips)
+ if (! bootargs.isquiet)
+ wideMessageBox(_(
+"Dvhtool requires a SGI partition label on the disk it puts the\n"
+"kernel onto. Therefore, if this disk will contain the kernel in\n"
+"the volume header, you must create a SGI disklabel.\n"),
+_("Note on Dvhtool installation"));
#endif
if ( NAME_ISEXE( "/sbin/cfdisk", &statbuf )
@@ -191,6 +198,8 @@
&& ( strcmp(Arch2, "PowerMac") != 0 )
#elif #cpu(alpha)
&& ! srm_boot
+#elif #cpu(mips)
+ && ( strcmp(Arch2, "ip22") != 0 )
#endif
) {
Reply to: