Commit 833f6c8925d7f9eaf138cb0b1d89f3a109f9e857

Authored by Silvan Calarco
1 parent 883b67fea7
Exists in master and in 1 other branch milestone2

installer.kmdr: added check for home partition size >= 512MB, mostly as the simp…

…lest way to avoid displaying extended or other partitions

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

installer/installer.kmdr
... ... @@ -2707,6 +2707,7 @@
2707 2707 volsize=`get_udisks_key $device size`
2708 2708 volsize=`expr $volsize / 1024 / 1024`
2709 2709 volname=`get_udisks_key $device label`
  2710 + [ $volsize -ge 512 ] || continue
2710 2711 [ "$volname" ] || volname="unnamed"
2711 2712 parttype=`get_udisks_key $device usage`
2712 2713 [ "$parttype" ] || parttype="unknown"