From: Koen Kooi Date: Tue, 14 Jan 2014 11:00:46 +0000 (+0100) Subject: base bbclass: add support for lz4 compressed archives X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~34878 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b31b2d612b7bcd98c393c3760bb2e1542c02bd5;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git base bbclass: add support for lz4 compressed archives Signed-off-by: Koen Kooi Signed-off-by: Richard Purdie --- diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 2e5217b147c..81fc30590a1 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: