Mageia Bugzilla – Attachment 890 Details for
Bug 2921
can't add 64bit media in clean chroot with different arch on 32bit install
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
urpmi-6.40_ignore_arch_with_urpmi_root.patch
urpmi-6.40_ignore_arch_with_urpmi_root.patch (text/plain), 623 bytes, created by
AL13N
on 2011-10-03 18:08:05 CEST
(
hide
)
Description:
urpmi-6.40_ignore_arch_with_urpmi_root.patch
Filename:
MIME Type:
Creator:
AL13N
Created:
2011-10-03 18:08:05 CEST
Size:
623 bytes
patch
obsolete
>diff -ru urpmi-6.40//urpm/media.pm urpmi-6.40_2//urpm/media.pm >--- urpmi-6.40//urpm/media.pm 2010-10-13 23:30:13.000000000 +0200 >+++ urpmi-6.40_2//urpm/media.pm 2011-10-03 18:04:32.906651709 +0200 >@@ -999,7 +999,7 @@ > my $media_name = $distribconf->getvalue($media, 'name') || ''; > > if (my $media_arch = $distribconf->getvalue($media, 'arch')) { >- if (!URPM::archscore($media_arch)) { >+ if (!$urpm->{urpmi_root} && !URPM::archscore($media_arch)) { > $urpm->{log}(N("skipping non compatible media `%s' (for %s)", > $media, $media_arch)); > next;
diff -ru urpmi-6.40//urpm/media.pm urpmi-6.40_2//urpm/media.pm --- urpmi-6.40//urpm/media.pm 2010-10-13 23:30:13.000000000 +0200 +++ urpmi-6.40_2//urpm/media.pm 2011-10-03 18:04:32.906651709 +0200 @@ -999,7 +999,7 @@ my $media_name = $distribconf->getvalue($media, 'name') || ''; if (my $media_arch = $distribconf->getvalue($media, 'arch')) { - if (!URPM::archscore($media_arch)) { + if (!$urpm->{urpmi_root} && !URPM::archscore($media_arch)) { $urpm->{log}(N("skipping non compatible media `%s' (for %s)", $media, $media_arch)); next;
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2921
: 890