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

[RFCi,patch] Consolidate arm partitioning



Noticed while testing using d-i to install to arm subarch
not supported by debian, that a relatively scary.

 "This partitioner doesn't have information about the default type of
 partition tables.."

Warning is thrown, and then user needs to select the partition type.

All *supported* arm/armel platforms use "msdos" for hard disks[1], and
any modern arm system would too. So I suggest defaulting to msdos,
and adding any exceptions if found.

-Riku

[1] Installation to raw flash via mtd subsystem would be a different
story. but that's not relevant as we don't support installing to mtd.
Also all of the flash storages large enough to fit the bloat of debian
are not raw flash, but something that attempts to emulate a
hard disk/SD card/usb thumbdrive...


-- 
"rm -rf" only sounds scary if you don't have backups
Index: lib/disk-label.sh
===================================================================
--- lib/disk-label.sh	(revision 55159)
+++ lib/disk-label.sh	(working copy)
@@ -18,34 +18,8 @@
 		else
 			echo msdos
 		fi;;
-	    arm|armel)
-		case "$sub" in
-		    iop32x)
-			echo msdos;;
-		    iop33x)
-			echo msdos;;
-		    ixp4xx)
-			echo msdos;;
-		    orion5x)
-			echo msdos;;
-		    riscstation)
-			echo msdos;;
-		    netwinder)
-			echo msdos;;
-		    ads)
-			echo msdos;;
-		    versatile)
-			echo msdos;;
-		    *)
-			echo UNKNOWN;;
-		esac;;
-	    armeb)
-		case "$sub" in
-		    ixp4xx)
-			echo msdos;;
-		    *)
-			echo UNKNOWN;;
-		esac;;
+	    arm|armeb|armel)
+		echo msdos;;
 	    amd64)
 		case "$sub" in
 		    mac)

Reply to: