From c268508f652d586b465bb07bd4c4f1f4171cef38 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 10 Mar 2009 10:55:15 +0000 Subject: (get_media) fix selecting packages on cdroms (copy rpmsrate too) (once RC1 is released, investigate why _get_compsUsers_pl() failed) --- perl-install/install/NEWS | 1 + perl-install/install/media.pm | 2 ++ 2 files changed, 3 insertions(+) (limited to 'perl-install/install') diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 380ab1c3a..75a370d09 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,4 @@ +- fix selecting packages on cdroms - don't crash when creating a partition in LVM with the partition type buttons (#38078) diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm index 590fce94c..c8a6bd51e 100644 --- a/perl-install/install/media.pm +++ b/perl-install/install/media.pm @@ -505,6 +505,8 @@ sub get_media { if ($o->{stage2_phys_medium}{method} eq 'cdrom') { my $arch = arch(); $uri .= "/" . ($arch =~ /i.86/ ? $MDK::Common::System::compat_arch{arch()} : arch()); + # FIXME: investigate why _get_compsUsers_pl($phys_m, $_->{force_rpmsrate}) didn't worked:o + system('cp', "$uri/media/media_info/rpmsrate", "/tmp/rpmsrate"); system('cp', "$uri/media/media_info/compssUsers.pl", '/tmp/compssUsers.pl'); } else { _get_compsUsers_pl($phys_m, $_->{force_rpmsrate}); -- cgit v1.2.1