From fd7f442ab414219f39132116d7ce070142c1b600 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Wed, 9 Jul 2003 14:41:30 +0000 Subject: 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. --- rescue/tree/etc/oem-all | 10 +++++++--- 1 file 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 = ) !~ /^\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); -- cgit v1.2.1