[OE-core] [PATCH] pigz: Add pigz to buildtools tarball

Konrad Scherer konrad.scherer at windriver.com
Mon Oct 21 20:13:11 UTC 2013


From: Konrad Scherer <Konrad.Scherer at 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 at 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(-)

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"
 
-- 
1.7.1




More information about the Openembedded-core mailing list