Browse Source

installer: ignore partitions that are part of LVM.

Juan RP 10 years ago
parent
commit
9883c5eae6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      installer.sh.in

+ 1 - 0
installer.sh.in

@@ -156,6 +156,7 @@ show_partitions() {
                 fstype=$(lsblk -nfr /dev/$part|awk '{print $2}'|head -1)
                 [ "$fstype" = "iso9660" ] && continue
                 [ "$fstype" = "crypto_LUKS" ] && continue
+                [ "$fstype" = "LVM2_member" ] && continue
                 fssize=$(lsblk -nr /dev/$part|awk '{print $4}'|head -1)
                 echo "/dev/$part"
                 echo "size:${fssize:-unknown};fstype:${fstype:-none}"