summaryrefslogtreecommitdiff
path: root/scripts/install/install-get-partition
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install/install-get-partition')
-rwxr-xr-xscripts/install/install-get-partition4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/install/install-get-partition b/scripts/install/install-get-partition
index b517c460..b3f2741e 100755
--- a/scripts/install/install-get-partition
+++ b/scripts/install/install-get-partition
@@ -693,7 +693,7 @@ create_partitions() {
exit 1
fi
# set the partition number on the device.
- if [ -n "$( echo $ldrive | grep -E "cciss|ida|nvme" )" ]; then
+ if [ -n "$( echo $ldrive | grep -E "cciss|ida|nvme|mmcblk" )" ]; then
# if this is a cciss
ROOT_PARTITION=$ldrive"p3"
efipart=$ldrive"p2"
@@ -735,7 +735,7 @@ create_partitions() {
fi
# set the partition number on the device.
- if [ -n "$( echo $ldrive | grep -E "cciss|ida|nvme" )" ]; then
+ if [ -n "$( echo $ldrive | grep -E "cciss|ida|nvme|mmcblk" )" ]; then
# if this is a cciss
ROOT_PARTITION=$ldrive"p1"
else