summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dpkg/dpkg.inc
diff options
context:
space:
mode:
authorDan McGregor <dan.mcgregor@usask.ca>2015-01-15 09:41:14 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-29 15:36:52 +0000
commit474661b0a0e5fb5dace0b1c3608377244eaaff7d (patch)
tree9f604024fcb487ce3feca792cf2d45c48860318a /meta/recipes-devtools/dpkg/dpkg.inc
parent3592507a149b668c0a925e176535f7f2002fa543 (diff)
downloadpoky-474661b0a0e5fb5dace0b1c3608377244eaaff7d.tar.gz
dpkg: fix host contamination
Force dpkg to use "tar" on the target. The dpkg configure script looks for gnutar, gtar, and tar in order. If it finds gnutar or gtar on the host it expects to use that as its tar program on the target. Without this, if gtar exists (as it does on my system) then dpkg will consistently fail on the target with an error about gtar not being found. (From OE-Core rev: 45bcb1ea92f244df4745aca6f9f9556c43e9b6ce) Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dpkg/dpkg.inc')
-rw-r--r--meta/recipes-devtools/dpkg/dpkg.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
index c3c51ebe80..11d0eea242 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -36,6 +36,8 @@ EXTRA_OECONF = "\
36 --without-selinux \ 36 --without-selinux \
37 " 37 "
38 38
39EXTRA_OECONF_append_class-target = " TAR=tar"
40
39do_configure () { 41do_configure () {
40 echo >> ${S}/m4/compiler.m4 42 echo >> ${S}/m4/compiler.m4
41 sed -i -e 's#PERL_LIBDIR=.*$#PERL_LIBDIR="${libdir}/perl"#' ${S}/configure 43 sed -i -e 's#PERL_LIBDIR=.*$#PERL_LIBDIR="${libdir}/perl"#' ${S}/configure