about summary refs log tree commit diff
path: root/installer.sh.in
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-08-29 15:13:23 +0200
committerJuan RP <xtraeme@gmail.com>2014-08-29 15:13:23 +0200
commit9883c5eae6b783f9102fe26472c07c6d9c12c86d (patch)
tree6727608642eedaac428dfc8b6067b45b0266435e /installer.sh.in
parent945dc94fe8b7f577b2ce1fed10fe11c564b90c13 (diff)
downloadhrmpf-9883c5eae6b783f9102fe26472c07c6d9c12c86d.tar.gz
hrmpf-9883c5eae6b783f9102fe26472c07c6d9c12c86d.tar.xz
hrmpf-9883c5eae6b783f9102fe26472c07c6d9c12c86d.zip
installer: ignore partitions that are part of LVM.
Diffstat (limited to 'installer.sh.in')
-rw-r--r--installer.sh.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/installer.sh.in b/installer.sh.in
index c7c690e..171cd96 100644
--- a/installer.sh.in
+++ b/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}"