dpkg: fix configuration issue for mips64

CQID: 431771

configure cannot determine the proper cpu, os, or
architecture for mips64, and possibly other arch's,
because of faulty code added to Arch.pm in the latest
release from upstream.  We remove that code.

(From OE-Core rev: e56b4af3a325d6d5332c779e6253da9b3cd2fce0)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Joe Slater 2013-08-26 23:38:45 +00:00 committed by Richard Purdie
parent 937968bf95
commit f17404dd71
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,22 @@
configure cannot determine the proper cpu, os, or
architecture for mips64, and possibly other arch's
because of faulty code added to Arch.pm in the latest
release from upstream. We remove that code.
Upstream-Status: Pending
Signed-off-by: Joe Slater <jslater@windriver.com>
--- a/scripts/Dpkg/Arch.pm
+++ b/scripts/Dpkg/Arch.pm
@@ -233,9 +233,6 @@ sub read_triplettable()
(my $dt = $debtriplet) =~ s/<cpu>/$_cpu/;
(my $da = $debarch) =~ s/<cpu>/$_cpu/;
- next if exists $debarch_to_debtriplet{$da}
- or exists $debtriplet_to_debarch{$dt};
-
$debarch_to_debtriplet{$da} = $dt;
$debtriplet_to_debarch{$dt} = $da;
}

View File

@ -8,6 +8,7 @@ SRC_URI += "file://noman.patch \
file://fix-timestamps.patch \
file://remove-tar-no-timestamp.patch \
file://fix-abs-redefine.patch \
file://arch_pm.patch \
"
SRC_URI[md5sum] = "ece3ae87a099158c17bde95c0036c575"