summaryrefslogtreecommitdiffstats
path: root/perl-install/install/media.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-10 10:55:15 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-10 10:55:15 +0000
commitc268508f652d586b465bb07bd4c4f1f4171cef38 (patch)
tree775c5932bead6e4bec0a928ab8fe67dd0a8bf0ab /perl-install/install/media.pm
parent33f1402f943036dbdf81bf12ded852c8eba91fd9 (diff)
downloaddrakx-backup-do-not-use-c268508f652d586b465bb07bd4c4f1f4171cef38.tar
drakx-backup-do-not-use-c268508f652d586b465bb07bd4c4f1f4171cef38.tar.gz
drakx-backup-do-not-use-c268508f652d586b465bb07bd4c4f1f4171cef38.tar.bz2
drakx-backup-do-not-use-c268508f652d586b465bb07bd4c4f1f4171cef38.tar.xz
drakx-backup-do-not-use-c268508f652d586b465bb07bd4c4f1f4171cef38.zip
(get_media) fix selecting packages on cdroms (copy rpmsrate too)
(once RC1 is released, investigate why _get_compsUsers_pl() failed)
Diffstat (limited to 'perl-install/install/media.pm')
-rw-r--r--perl-install/install/media.pm2
1 files changed, 2 insertions, 0 deletions
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});