path: root/meta/recipes-core/expat
diff options
authorRichard Purdie <>2012-03-21 11:26:09 (GMT)
committerRichard Purdie <>2012-03-21 15:33:07 (GMT)
commit40f95685e6a3b4359d2ab2fea1418fe5e4bd0aa1 (patch)
tree09616e11de8c05ea9a3b22367cccc00a03861e32 /meta/recipes-core/expat
parent01218e29f963120c77885964702198d9bce77e11 (diff)
gzip/pigz-native: Install into a prefix to avoid clashing with system binaries
Due to the system providing a copy of gzip, we face some issues when we 'shadow' that copy with our own leading to a varient of race type bugs, and issues for example if a dependency such as libz is missing but the binary is still present. We usually rely on our dependency logic to protect us from this but for gzip, we don't have this protection since its not listed by all its users (and doing so would be impractical). This patch installed pigz and gzip into their own directory which we only add to PATH when we explictly want these binaries in much the same way we do with perl-native. This means dependency logic is correct when we use the binary and everything should work well. The patch adds an explict dependency into image.bbclass since the accelerated speed of compression is most appreciated at rootfs time. (From OE-Core rev: 7a98c0ef28822ae1fcee45b14db3edcfd4c7ad8f) Signed-off-by: Richard Purdie <>
Diffstat (limited to 'meta/recipes-core/expat')
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/expat/ b/meta/recipes-core/expat/
index d902b7a..459ccb3 100644
--- a/meta/recipes-core/expat/
+++ b/meta/recipes-core/expat/
@@ -7,7 +7,7 @@ LICENSE = "MIT"
7SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz \ 7SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz \
8 file://autotools.patch" 8 file://autotools.patch"
9 9
10inherit autotools lib_package 10inherit autotools lib_package gzipnative
11 11
12# This package uses an archive format known to have issue with some 12# This package uses an archive format known to have issue with some
13# versions of gzip 13# versions of gzip