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

Bug#773229: [PATCH v2] Skip eMMC partition checking



Hi, Phil,

Because it's kind of urgent, so I just made another patch according your suggestion,
and have you mentioned in the comment.

Thank you for the help.

Regards,
Tsung-Han
Index: partman-base-185/init.d/parted
===================================================================
--- partman-base-185.orig/init.d/parted	2013-12-15 21:11:33.000000000 +0800
+++ partman-base-185/init.d/parted	2015-05-20 14:54:45.177353399 +0800
@@ -93,6 +93,12 @@
 			continue
 		fi
 
+		# Skip emmc devices' boot0, boot1 and rpmb partitions
+		# Suggested by Philip Hands <phil@hands.com>
+		case "$device" in
+			/dev/mmcblk?rpmb | /dev/mmcblk?boot? ) continue ;;
+		esac
+
 		# Skip MD devices which are not active
 		if [ -e /proc/mdstat ]; then
 			if is_inactive_md $device; then

Reply to: