summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install/NEWS3
-rw-r--r--perl-install/install/media.pm4
2 files changed, 6 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 73510958f..fd3a5ffef 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,6 @@
+- media management:
+ o handle NFS & CDROM media with arched directory (aka 'i586/')
+
Version 12.26 - 08 April 2009
- include vmmouse driver (#49654)
diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm
index ee2bfbebf..e562af605 100644
--- a/perl-install/install/media.pm
+++ b/perl-install/install/media.pm
@@ -635,8 +635,10 @@ sub _get_media_url {
if (member($phys_medium->{method}, qw(ftp http))) {
$uri = $phys_medium->{url};
$uri =~ s!/media$!!;
- } elsif ($phys_medium->{method} eq 'nfs') {
+ } elsif (member($phys_medium->{method}, qw(cdrom nfs))) {
$uri = "$::prefix/$phys_medium->{mntpoint}";
+ my $arch = arch() =~ /i.86/ ? $MDK::Common::System::compat_arch{arch()} : arch();
+ $uri .= "/$arch" if -d "$uri/$arch";
}
} else {
$uri = $o->{stage2_phys_medium}{url} =~ m!^(http|ftp)://! && $o->{stage2_phys_medium}{url} ||