Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 3/3] dpkg: fix host contamination
@ 2015-01-15  3:51 Dan McGregor
  2015-01-15 14:57 ` Aníbal Limón
  0 siblings, 1 reply; 5+ messages in thread
From: Dan McGregor @ 2015-01-15  3:51 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

From: Dan McGregor <dan.mcgregor@usask.ca>

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
---
 meta/recipes-devtools/dpkg/dpkg.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/dpkg/dpkg.inc
b/meta/recipes-devtools/dpkg/dpkg.inc
index c3c51eb..11d0eea 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
-- 
2.1.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread
* Re: [PATCH 3/3] dpkg: fix host contamination
@ 2015-01-15 15:49 Dan McGregor
  0 siblings, 0 replies; 5+ messages in thread
From: Dan McGregor @ 2015-01-15 15:49 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 15 January 2015 at 09:41, Dan McGregor <danismostlikely@gmail.com> wrote:
> From: Dan McGregor <dan.mcgregor@usask.ca>
>
> 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>
> ---
>  meta/recipes-devtools/dpkg/dpkg.inc | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-devtools/dpkg/dpkg.inc
> b/meta/recipes-devtools/dpkg/dpkg.inc
> index c3c51eb..11d0eea 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
> --
> 2.1.0


And of course I forgot to mark this a v2. Forgive me.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-15 15:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-15  3:51 [PATCH 3/3] dpkg: fix host contamination Dan McGregor
2015-01-15 14:57 ` Aníbal Limón
2015-01-15 15:27   ` Dan McGregor
2015-01-15 15:41   ` Dan McGregor
  -- strict thread matches above, loose matches on Subject: below --
2015-01-15 15:49 Dan McGregor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox