base bbclass: add support for lz4 compressed archives

(From OE-Core rev: 8b31b2d612b7bcd98c393c3760bb2e1542c02bd5)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Koen Kooi
2014-01-14 12:00:46 +01:00
committed by Richard Purdie
parent f6d3fca05b
commit ff5a3e9f92

View File

@@ -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: