From 06c1baaa86d480ad77b8e3aee36ce16986f7bf6a Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 11 Jun 2010 17:28:57 +0000 Subject: auto_install: when distrib media contains selected_names list, apply it only to the concerned media, and not to previously added media --- perl-install/install/NEWS | 2 ++ perl-install/install/media.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index b341629bc..7c30497f6 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,5 +1,7 @@ - user management: focus on first entry in dialog, root password if superuser is asked, user real name otherwise (#54910) +- auto_install: when distrib media contains selected_names list, apply + it only to the concerned media, and not to previously added media Version 13.33 - 4 June 2010 diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm index b15d745c0..98ed059d1 100644 --- a/perl-install/install/media.pm +++ b/perl-install/install/media.pm @@ -672,7 +672,7 @@ sub get_media_cfg { my @new_media = difference2($packages->{media}, \@media); _associate_phys_media($o->{all_hds}, $phys_medium, \@new_media); - select_only_some_media($packages->{media}, $selected_names) if defined $selected_names; + select_only_some_media(\@new_media, $selected_names) if defined $selected_names; if ($deselectionAllowed && !@{$packages->{media}}) { my $allow = _allow_copy_rpms_on_disk($phys_medium, $packages->{media}); -- cgit v1.2.1