diff options
author | Ross Burton <ross.burton@intel.com> | 2015-11-20 15:41:33 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-01 21:32:01 +0000 |
commit | 46755cc4b85f7f743eab138750c69d58f1b6475e (patch) | |
tree | 749cc5c93fad6195d0590502ea81f5616acafb2d /meta/classes/base.bbclass | |
parent | 6ea39c26b75c0ac48c0865cf18f2b9bd6bc91132 (diff) | |
download | poky-46755cc4b85f7f743eab138750c69d58f1b6475e.tar.gz |
base: add automatic dependency on lzip-native for .lz SRC_URI
Now that the SRC_URI is parsed this can be done without false-positives.
(From OE-Core rev: 6fac3caf3d70823c830178f2299ceee275a1edd1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 64820a75b1..e6d1599032 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -550,6 +550,10 @@ python () { | |||
550 | if path.endswith('.lz4'): | 550 | if path.endswith('.lz4'): |
551 | d.appendVarFlag('do_unpack', 'depends', ' lz4-native:do_populate_sysroot') | 551 | d.appendVarFlag('do_unpack', 'depends', ' lz4-native:do_populate_sysroot') |
552 | 552 | ||
553 | # *.lz should DEPEND on lzip-native for unpacking | ||
554 | elif path.endswith('.lz'): | ||
555 | d.appendVarFlag('do_unpack', 'depends', ' lzip-native:do_populate_sysroot') | ||
556 | |||
553 | # *.xz should DEPEND on xz-native for unpacking | 557 | # *.xz should DEPEND on xz-native for unpacking |
554 | elif path.endswith('.xz'): | 558 | elif path.endswith('.xz'): |
555 | d.appendVarFlag('do_unpack', 'depends', ' xz-native:do_populate_sysroot') | 559 | d.appendVarFlag('do_unpack', 'depends', ' xz-native:do_populate_sysroot') |