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

Bug#773229: [PATCH] Skip eMMC partition checking



Hi,

I've just made a patch to solve the emmc partition issue during installation.
Could you kindly help review this?
Thank you.

BugLink: https://bugs.launchpad.net/ubuntu/+source/partman-base/+bug/1456443
Index: partman-base-172ubuntu1/init.d/parted
===================================================================
--- partman-base-172ubuntu1.orig/init.d/parted	2014-02-05 22:50:17.000000000 +0800
+++ partman-base-172ubuntu1/init.d/parted	2015-05-19 12:08:13.878119958 +0800
@@ -93,6 +93,11 @@
 			continue
 		fi
 
+		# Skip emmc devices' boot0, boot1 and rpmb partitions
+		if echo $device | grep -q -e '/dev/mmcblk0\(rpmb\|boot\)'; then
+			continue
+		fi
+
 		# Skip MD devices which are not active
 		if [ -e /proc/mdstat ]; then
 			if is_inactive_md $device; then

Reply to: