[OE-core] [PATCH 2/5] base bbclass: add support for lz4 compressed archives
Koen Kooi
koen.kooi at linaro.org
Tue Jan 14 11:00:46 UTC 2014
Signed-off-by: Koen Kooi <koen.kooi at linaro.org>
---
meta/classes/base.bbclass | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 2e5217b..81fc305 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -573,6 +573,11 @@ python () {
elif "osc://" in srcuri:
d.appendVarFlag('do_fetch', 'depends', ' osc-native:do_populate_sysroot')
+ # *.lz4 should depends on lz4-native for unpacking
+ # Not endswith because of "*.patch.lz4;patch=1". Need bb.fetch.decodeurl in future
+ if '.lz4' in srcuri:
+ d.appendVarFlag('do_unpack', 'depends', ' lz4-native:do_populate_sysroot')
+
# *.xz should depends on xz-native for unpacking
# Not endswith because of "*.patch.xz;patch=1". Need bb.fetch.decodeurl in future
if '.xz' in srcuri:
--
1.8.4.2
More information about the Openembedded-core
mailing list