summaryrefslogtreecommitdiffstats
path: root/rescue/tree/etc/oem-all
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-07-09 14:41:30 +0000
committerFrancois Pons <fpons@mandriva.com>2003-07-09 14:41:30 +0000
commitfd7f442ab414219f39132116d7ce070142c1b600 (patch)
treeef4973282a9fb8dd2210e506d77960116365b351 /rescue/tree/etc/oem-all
parent390d698135af1dfab48938defa011099575d7df9 (diff)
downloaddrakx-fd7f442ab414219f39132116d7ce070142c1b600.tar
drakx-fd7f442ab414219f39132116d7ce070142c1b600.tar.gz
drakx-fd7f442ab414219f39132116d7ce070142c1b600.tar.bz2
drakx-fd7f442ab414219f39132116d7ce070142c1b600.tar.xz
drakx-fd7f442ab414219f39132116d7ce070142c1b600.zip
added tiny fixes for Mandrake 9.1 oem mode (need mandrake-release file)
gets root of installation as 9Gb so that no problem should occurs.
Diffstat (limited to 'rescue/tree/etc/oem-all')
-rwxr-xr-xrescue/tree/etc/oem-all10
1 files changed, 7 insertions, 3 deletions
diff --git a/rescue/tree/etc/oem-all b/rescue/tree/etc/oem-all
index 07cd5189d..51d81469e 100755
--- a/rescue/tree/etc/oem-all
+++ b/rescue/tree/etc/oem-all
@@ -200,9 +200,9 @@ Type \`\`yes'' and [enter] to go on\n"
} while (($yes = <STDIN>) !~ /^\s*yes\s*$/i);
system "parted", "/dev/$hd", "mklabel", "msdos";
}
-my $min_size = $options{min_size} || 4000;
-my $def_size = $options{def_size} || 3500;
-my $trigger_size = $options{trigger_size} || 4000;
+my $min_size = $options{min_size} || 9000;
+my $def_size = $options{def_size} || 8500;
+my $trigger_size = $options{trigger_size} || 9000;
#my $inst_size = $options{inst_size} || 1500;
my $inst_size = $options{inst_size} || 2500;
my $swap_size = $options{swap_size} || 128;
@@ -538,6 +538,10 @@ if ($home) {
print F "/dev/$hdp$home /home $fs defaults 1 2\n";
}
close F;
+#- stupid things for installer to work correctly.
+open F, ">/mnt/etc/mandrake-release";
+print F "Mandrake Linux release 9.1 (Bamboo) for i586";
+close F;
#- keep in mind all the rpm files available (according to hdlists).
my (%files, %rpms);