diff options
author | Koen Kooi <koen.kooi@linaro.org> | 2014-01-14 12:00:46 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-14 11:50:47 +0000 |
commit | 8b31b2d612b7bcd98c393c3760bb2e1542c02bd5 (patch) | |
tree | 253f9cf7c46970940708efa97d16cdbf1f78d3fd | |
parent | 13e5da254529716b0445895d70b40489ce22941b (diff) | |
download | openembedded-core-8b31b2d612b7bcd98c393c3760bb2e1542c02bd5.tar.gz openembedded-core-8b31b2d612b7bcd98c393c3760bb2e1542c02bd5.tar.bz2 openembedded-core-8b31b2d612b7bcd98c393c3760bb2e1542c02bd5.zip |
base bbclass: add support for lz4 compressed archives
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/base.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 2e5217b147..81fc30590a 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: |