diff options
author | Francois Pons <fpons@mandriva.com> | 2000-01-07 09:41:23 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-01-07 09:41:23 +0000 |
commit | e28cc9776192f3d4bbc86bd2781106faf6d0b656 (patch) | |
tree | 0f943fad5881626372947dac6f41c8f41a5a4724 /perl-install/install2.pm | |
parent | 4a92ef9d28a3b4241186678c3fa3b4ebd365809d (diff) | |
download | drakx-e28cc9776192f3d4bbc86bd2781106faf6d0b656.tar drakx-e28cc9776192f3d4bbc86bd2781106faf6d0b656.tar.gz drakx-e28cc9776192f3d4bbc86bd2781106faf6d0b656.tar.bz2 drakx-e28cc9776192f3d4bbc86bd2781106faf6d0b656.tar.xz drakx-e28cc9776192f3d4bbc86bd2781106faf6d0b656.zip |
*** empty log message ***
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r-- | perl-install/install2.pm | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm index 36afc5702..be7c75257 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -279,7 +279,7 @@ sub setupSCSI { sub partitionDisks { return $o->{fstab} = [ - { device => "loop7", type => 0x83, mntpoint => "/", isFormatted => 1, isMounted => 1 }, + { device => "loop7", type => 0x83, size => ((cat_('/dos/lnx4win/size.txt'))[0]*2048), mntpoint => "/", isFormatted => 1, isMounted => 1 }, { device => "/initrd/dos/lnx4win/swapfile", type => 0x82, mntpoint => "swap", isFormatted => 1, isMounted => 1 }, ] if $o->{lnx4win}; return if $o->{isUpgrade}; @@ -366,10 +366,6 @@ sub choosePackages { sub doInstallStep { $o->readBootloaderConfigBeforeInstall if $_[1] == 1; - #- some packages need such files for proper installation. - install_any::write_ldsoconf($o->{prefix}); - fs::write($o->{prefix}, $o->{fstab}, $o->{manualFstab}, $o->{useSupermount}); - $o->beforeInstallPackages; $o->installPackages($o->{packages}); $o->afterInstallPackages; @@ -647,6 +643,9 @@ sub main { install_any::lnx4win_postinstall($o->{prefix}) if $o->{lnx4win}; install_any::killCardServices(); + #- make sure failed upgrade will not hurt too much. + install_steps::cleanIfFailedUpgrade($o); + #- have the really bleeding edge ddebug.log for this f*cking msec :-/ eval { commands::cp('-f', "/tmp/ddebug.log", "$o->{prefix}/root") }; |