diff options
| author | Christian Poessinger <christian@poessinger.com> | 2019-03-27 07:50:46 +0100 | 
|---|---|---|
| committer | Christian Poessinger <christian@poessinger.com> | 2019-03-27 07:50:46 +0100 | 
| commit | 6675f23752836c311fe346804a51c53aba8fedc4 (patch) | |
| tree | dd49d545453cbbb7f6b40df56b6cdd2ed6b7003b /scripts/install/install-get-partition | |
| parent | 0f4f04315d51ca7496c1383faffa810420e7a344 (diff) | |
| download | vyatta-cfg-system-6675f23752836c311fe346804a51c53aba8fedc4.tar.gz vyatta-cfg-system-6675f23752836c311fe346804a51c53aba8fedc4.zip | |
T1296: support installation on SD cards
Diffstat (limited to 'scripts/install/install-get-partition')
| -rwxr-xr-x | scripts/install/install-get-partition | 4 | 
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 | 
