diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-09-01 09:13:25 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-09-01 09:13:25 +0000 |
commit | 848081d301fc9c565c3bc5e1e938811b04769406 (patch) | |
tree | f514bf9ab5dc281fba28a30fd6757856a5631cfb /perl-install/install/steps.pm | |
parent | 05cc815a368874128fdd8dce1ad079b64831c8d2 (diff) | |
download | drakx-848081d301fc9c565c3bc5e1e938811b04769406.tar drakx-848081d301fc9c565c3bc5e1e938811b04769406.tar.gz drakx-848081d301fc9c565c3bc5e1e938811b04769406.tar.bz2 drakx-848081d301fc9c565c3bc5e1e938811b04769406.tar.xz drakx-848081d301fc9c565c3bc5e1e938811b04769406.zip |
- if network access, configure urpmi with --mirrorlist --distrib,
and install updates. This replaces the previous "Install Updates" step.
- this calls gurpmi.addmedia/urpmi.addmedia and gurpmi2/urpmi in chroot
- we do not allow anymore to choose which updates are going to be updated
(ie choosePackagesTree is not used for this anymore)
Diffstat (limited to 'perl-install/install/steps.pm')
-rw-r--r-- | perl-install/install/steps.pm | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/perl-install/install/steps.pm b/perl-install/install/steps.pm index 652ea2f26..e669a3790 100644 --- a/perl-install/install/steps.pm +++ b/perl-install/install/steps.pm @@ -662,25 +662,7 @@ sub configure_firewall { } #------------------------------------------------------------------------------ -sub installUpdates { - my ($o) = @_; - my $u = $o->{updates} or return; - $u->{url} or return; - - upNetwork($o); - require mirror; - - # FIXME: install all update media - my $phys_medium = install::media::url2mounted_phys_medium($o, $u->{url} . '/media/main/updates'); - - my $update_medium = { name => "Updates for Mandriva Linux " . $o->{product_id}{version}, update => 1 }; - install::media::get_standalone_medium($o, $phys_medium, $o->{packages}, $update_medium); - - $o->pkg_install(@{$u->{packages} || []}); - - #- re-install urpmi with update security medium. - install_urpmi($o); -} +sub installUpdates {} sub summaryBefore {} |