From 833f6c8925d7f9eaf138cb0b1d89f3a109f9e857 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 6 Oct 2011 17:04:03 +0200 Subject: [PATCH] installer.kmdr: added check for home partition size >= 512MB, mostly as the simplest way to avoid displaying extended or other partitions --- installer/installer.kmdr | 1 + 1 file changed, 1 insertion(+) diff --git a/installer/installer.kmdr b/installer/installer.kmdr index 0b14e9e..bf0c47d 100755 --- a/installer/installer.kmdr +++ b/installer/installer.kmdr @@ -2707,6 +2707,7 @@ for device in $devices; do volsize=`get_udisks_key $device size` volsize=`expr $volsize / 1024 / 1024` volname=`get_udisks_key $device label` + [ $volsize -ge 512 ] || continue [ "$volname" ] || volname="unnamed" parttype=`get_udisks_key $device usage` [ "$parttype" ] || parttype="unknown"