diff options
author | Juan RP <xtraeme@gmail.com> | 2014-08-29 15:13:23 +0200 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2014-08-29 15:13:23 +0200 |
commit | 9883c5eae6b783f9102fe26472c07c6d9c12c86d (patch) | |
tree | 6727608642eedaac428dfc8b6067b45b0266435e | |
parent | 945dc94fe8b7f577b2ce1fed10fe11c564b90c13 (diff) | |
download | hrmpf-9883c5eae6b783f9102fe26472c07c6d9c12c86d.tar.gz hrmpf-9883c5eae6b783f9102fe26472c07c6d9c12c86d.tar.xz hrmpf-9883c5eae6b783f9102fe26472c07c6d9c12c86d.zip |
installer: ignore partitions that are part of LVM.
-rw-r--r-- | installer.sh.in | 1 |
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}" |