diff options
author | Dan McGregor <dan.mcgregor@usask.ca> | 2015-01-15 09:41:14 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-29 10:37:53 +0000 |
commit | 45bcb1ea92f244df4745aca6f9f9556c43e9b6ce (patch) | |
tree | 213c878656deec4c8a629dfb64d2cdb1fb2552fb /meta/recipes-devtools/dpkg | |
parent | b7ee7cf5bbfd0f305a75e4df9455f9968aa67878 (diff) | |
download | openembedded-core-45bcb1ea92f244df4745aca6f9f9556c43e9b6ce.tar.gz openembedded-core-45bcb1ea92f244df4745aca6f9f9556c43e9b6ce.tar.bz2 openembedded-core-45bcb1ea92f244df4745aca6f9f9556c43e9b6ce.zip |
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.
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/dpkg')
-rw-r--r-- | meta/recipes-devtools/dpkg/dpkg.inc | 2 |
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 = "\ --without-selinux \ " +EXTRA_OECONF_append_class-target = " TAR=tar" + do_configure () { echo >> ${S}/m4/compiler.m4 sed -i -e 's#PERL_LIBDIR=.*$#PERL_LIBDIR="${libdir}/perl"#' ${S}/configure |