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 17:03:53 +0000 |
commit | ff5a3e9f9229fe1e38e1b2bb74fdc7a4dc9858ff (patch) | |
tree | 625a10fec39cc10a179d0380d2bc388ab20f8157 | |
parent | f6d3fca05bdd282d79954be8817abb19d8ba8467 (diff) | |
download | poky-ff5a3e9f9229fe1e38e1b2bb74fdc7a4dc9858ff.tar.gz |
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>
-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 () { | |||
573 | elif "osc://" in srcuri: | 573 | elif "osc://" in srcuri: |
574 | d.appendVarFlag('do_fetch', 'depends', ' osc-native:do_populate_sysroot') | 574 | d.appendVarFlag('do_fetch', 'depends', ' osc-native:do_populate_sysroot') |
575 | 575 | ||
576 | # *.lz4 should depends on lz4-native for unpacking | ||
577 | # Not endswith because of "*.patch.lz4;patch=1". Need bb.fetch.decodeurl in future | ||
578 | if '.lz4' in srcuri: | ||
579 | d.appendVarFlag('do_unpack', 'depends', ' lz4-native:do_populate_sysroot') | ||
580 | |||
576 | # *.xz should depends on xz-native for unpacking | 581 | # *.xz should depends on xz-native for unpacking |
577 | # Not endswith because of "*.patch.xz;patch=1". Need bb.fetch.decodeurl in future | 582 | # Not endswith because of "*.patch.xz;patch=1". Need bb.fetch.decodeurl in future |
578 | if '.xz' in srcuri: | 583 | if '.xz' in srcuri: |