summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm11
1 files changed, 8 insertions, 3 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 49d6ff677..bf5e7d6f1 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -24,7 +24,11 @@ use network;
use any;
use fs;
-$minAvailableSize = 5 * sqr(1024);
+#- make sure of this place to be available for installation, this could help a lot.
+#- currently doing a very small install use 36Mb of postinstall-rpm, but installing
+#- these packages may eat up to 90Mb (of course not all the server may be installed!).
+#- 50mb may be a good choice to avoid almost all problem of insuficient space left...
+$minAvailableSize = 50 * sqr(1024);
@filesToSaveForUpgrade = qw(
/etc/ld.so.conf /etc/fstab /etc/hosts /etc/conf.modules
);
@@ -551,7 +555,7 @@ END
local *F;
open F, ">$secrets" or die "Can't open $secrets: $!";
print F @l;
- } else {
+ } else {
local *F;
open F, ">>$secrets" or die "Can't open $secrets: $!";
print F "$toreplace{login} ppp0 \"$toreplace{passwd}\"\n";
@@ -561,7 +565,8 @@ END
} #- CHAP is not supported by initscripts, need patching before doing more on that here!
#-install_any::template2userfile($o->{prefix}, "$ENV{SHARE_PATH}/kppprc.in", ".kde/share/config/kppprc", 1, %toreplace);
- install_any::template2userfile($o->{prefix}, "$ENV{SHARE_PATH}/kppprc.in", "$o->{prefix}/usr/share/config/kppprc", %toreplace);
+ commands::mkdir_("-p", "$o->{prefix}/usr/share/config");
+ template2file("$ENV{SHARE_PATH}/kppprc.in", "$o->{prefix}/usr/share/config/kppprc", %toreplace);
miscellaneousNetwork($o);
}