]> code.ossystems Code Review - openembedded-core.git/commitdiff
dpkg: fix configuration issue for mips64
authorJoe Slater <jslater@windriver.com>
Mon, 26 Aug 2013 23:38:45 +0000 (23:38 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 27 Aug 2013 23:41:29 +0000 (00:41 +0100)
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.

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>
meta/recipes-devtools/dpkg/dpkg/arch_pm.patch [new file with mode: 0644]
meta/recipes-devtools/dpkg/dpkg_1.17.1.bb

diff --git a/meta/recipes-devtools/dpkg/dpkg/arch_pm.patch b/meta/recipes-devtools/dpkg/dpkg/arch_pm.patch
new file mode 100644 (file)
index 0000000..cad4c0f
--- /dev/null
@@ -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;
+               }
index 01027a037d225a89dd2d34e4753c3b6d0153f5a0..525f75908b260e5e8bd2dc4e67c192b60752190c 100644 (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"