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:07:20 +0000 |
commit | 6fac3caf3d70823c830178f2299ceee275a1edd1 (patch) | |
tree | bd26a749d322d7a23083f49a2abc4dc5d09a7961 /meta/classes/base.bbclass | |
parent | a98a14844bc0b2ef8fc0426768fde40516279bf8 (diff) | |
download | openembedded-core-6fac3caf3d70823c830178f2299ceee275a1edd1.tar.gz openembedded-core-6fac3caf3d70823c830178f2299ceee275a1edd1.tar.bz2 openembedded-core-6fac3caf3d70823c830178f2299ceee275a1edd1.zip |
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.
Signed-off-by: Ross Burton <ross.burton@intel.com>
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 () { if path.endswith('.lz4'): d.appendVarFlag('do_unpack', 'depends', ' lz4-native:do_populate_sysroot') + # *.lz should DEPEND on lzip-native for unpacking + elif path.endswith('.lz'): + d.appendVarFlag('do_unpack', 'depends', ' lzip-native:do_populate_sysroot') + # *.xz should DEPEND on xz-native for unpacking elif path.endswith('.xz'): d.appendVarFlag('do_unpack', 'depends', ' xz-native:do_populate_sysroot') |