From: Ross Burton Date: Fri, 20 Nov 2015 15:41:33 +0000 (+0000) Subject: base: add automatic dependency on lzip-native for .lz SRC_URI X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~28284 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fac3caf3d70823c830178f2299ceee275a1edd1;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 64820a75b17..e6d15990327 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')