pigz: Add pigz to buildtools tarball

Submitted by Konrad Scherer on Oct. 21, 2013, 8:13 p.m.

Details

Message ID 1382386391-22092-2-git-send-email-konrad.scherer@windriver.com
State New
Headers show

Commit Message

Konrad Scherer Oct. 21, 2013, 8:13 p.m.
From: Konrad Scherer <Konrad.Scherer@windriver.com>

When using the tar executable in the buildtools, tar will execute
gzip. If this happens before zlib-native is built, then the gzip
on the host will be used and can fail if the libz in the buildtools
is not compatible. Adding pigz to the build tools avoids this host
contamination.

Signed-off-by: Konrad Scherer <Konrad.Scherer@windriver.com>
---
 meta/recipes-core/meta/buildtools-tarball.bb |    1 +
 meta/recipes-extended/pigz/pigz_2.3.bb       |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb
index 54fba11..9dabbd0 100644
--- a/meta/recipes-core/meta/buildtools-tarball.bb
+++ b/meta/recipes-core/meta/buildtools-tarball.bb
@@ -39,6 +39,7 @@  TOOLCHAIN_HOST_TASK ?= "\
     nativesdk-chrpath \
     nativesdk-tar \
     nativesdk-git \
+    nativesdk-pigz \
     nativesdk-make \
     "
 
diff --git a/meta/recipes-extended/pigz/pigz_2.3.bb b/meta/recipes-extended/pigz/pigz_2.3.bb
index 724d00b..bf8dd95 100644
--- a/meta/recipes-extended/pigz/pigz_2.3.bb
+++ b/meta/recipes-extended/pigz/pigz_2.3.bb
@@ -6,5 +6,5 @@  SRC_URI[sha256sum] = "74bbd5962f9420549fc987ddd1ccda692ec2b29d2d612fbbe26edf3fa3
 
 NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}"
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"