summary refs log tree commit diff
diff options
context:
space:
mode:
authorJuan RP <xtraeme@voidlinux.eu>2015-05-08 16:35:57 +0200
committerJuan RP <xtraeme@voidlinux.eu>2015-05-08 16:35:57 +0200
commit037523d1d109020158b942c58ac40ae04ba6cbc7 (patch)
tree9c6c14f7c84c1c35e0b97fa6e5fd0873cefad6b5
parent18fda502454305df8c853f22a752dc38ea25176c (diff)
downloadhrmpf-037523d1d109020158b942c58ac40ae04ba6cbc7.tar.gz
hrmpf-037523d1d109020158b942c58ac40ae04ba6cbc7.tar.xz
hrmpf-037523d1d109020158b942c58ac40ae04ba6cbc7.zip
installer: detect /dev/mmcblkX devices.
-rw-r--r--installer.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer.sh.in b/installer.sh.in
index 9b84c9a..aac3bee 100644
--- a/installer.sh.in
+++ b/installer.sh.in
@@ -134,7 +134,7 @@ show_disks() {
         fi
     done
     # SATA/SCSI and Virtual disks (virtio)
-    for dev in $(ls /sys/block|grep -E '^([sv]|xv)d'); do
+    for dev in $(ls /sys/block|grep -E '^([sv]|xv)d|mmcblk'); do
         echo "/dev/$dev"
         size=$(cat /sys/block/$dev/size)
         sectorsize=$(cat /sys/block/$dev/queue/hw_sector_size)