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

Bug#276741: tag 276741 patch



tag 276741 patch
thanks

partman-auto checks the file system specified by the recipe against a
list of valid file systems.  Since hfs isn't on the list, it falls
back to ext2.  Actually, it does this twice, using slightly different
lists.  Teehee.

The attached patch adds hfs to both lists.

It might be better to remove these lists altogether, but my partman-fu
is weak and the release is (hopefully) soon.

-- 
Matt
Index: packages/partman/partman-auto/perform_recipe
===================================================================
--- packages/partman/partman-auto/perform_recipe	(revision 23153)
+++ packages/partman/partman-auto/perform_recipe	(working copy)
@@ -42,7 +42,7 @@
 	max=$3
 	fs=$4
         case "$fs" in
-	    ext2|ext3|linux-swap|fat16|fat32)
+	    ext2|ext3|linux-swap|fat16|fat32|hfs)
 		true
 		;;
 	    *)
Index: packages/partman/partman-auto/recipes.sh
===================================================================
--- packages/partman/partman-auto/recipes.sh	(revision 23153)
+++ packages/partman/partman-auto/recipes.sh	(working copy)
@@ -84,7 +84,7 @@
 		    max="$min"
 		fi
 		case "$4" in # allow only valid file systems
-		    ext2|ext3|xfs|reiserfs|linux-swap|fat16|fat32)
+		    ext2|ext3|xfs|reiserfs|linux-swap|fat16|fat32|hfs)
 			fs="$4"
 			;;
 		    *)

Reply to: