summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-02-23 10:22:19 +0000
committerFrancois Pons <fpons@mandriva.com>2001-02-23 10:22:19 +0000
commit793018d13a0c5ceeb5726c74f572b5cb26fa08a3 (patch)
tree9a82129644ac7e627fe8897765496f161ad5fc03
parent048bd0c1a4a58388ccd7b0ec24e981878ad72e44 (diff)
downloaddrakx-backup-do-not-use-793018d13a0c5ceeb5726c74f572b5cb26fa08a3.tar
drakx-backup-do-not-use-793018d13a0c5ceeb5726c74f572b5cb26fa08a3.tar.gz
drakx-backup-do-not-use-793018d13a0c5ceeb5726c74f572b5cb26fa08a3.tar.bz2
drakx-backup-do-not-use-793018d13a0c5ceeb5726c74f572b5cb26fa08a3.tar.xz
drakx-backup-do-not-use-793018d13a0c5ceeb5726c74f572b5cb26fa08a3.zip
fixed root partition size set to the minimum.
-rwxr-xr-xrescue/tree/etc/oem4
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue/tree/etc/oem b/rescue/tree/etc/oem
index 6782356e0..480ca168d 100755
--- a/rescue/tree/etc/oem
+++ b/rescue/tree/etc/oem
@@ -84,7 +84,7 @@ if (@hd_parts == 1 && $hd_parts[$fat_pos = 0]{fstype} eq 'FAT' ||
$root_size > $trigger_size and $root_size = $def_size;
}
}
-unless ($inst_size + $swap_size + $root_size) {
+unless ($root_size) {
#- there have not been defined above, so remove everything and start from
#- a blank partition.
$resize_fat_size = undef;
@@ -282,7 +282,7 @@ sub select_packages {
$o->{compssUsersChoice}{qq(LOCALES"$_")} = 1;
}
- pkgs::setSelectedFromCompssList($packages, $o->{compssUsersChoice}, 4, 0);
+ pkgs::setSelectedFromCompssList($packages, $o->{compssUsersChoice}, 2, 0);
pkgs::setSelectedFromCompssList($packages, { map { $_ => 1 } map { @{$o->{compssUsers}{$_}} } @{$o->{compssUsersSorted}} }, 2, 0);
#- package that have to selected here as a bonus for oem install.