]> code.ossystems Code Review - openembedded-core.git/commitdiff
base: add automatic dependency on xz-native for .txz SRC_URI
authorAndré Draszik <git@andred.net>
Fri, 17 Nov 2017 21:43:51 +0000 (21:43 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Nov 2017 13:05:36 +0000 (13:05 +0000)
.txz is .tar.xz, so add it, as this can actually be found in the
wild.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/base.bbclass

index cc3d93ac4102f252e76ec8d0ab68c6dcef82fa9e..1a3272052cdaa6ff15438a8997542e82ae3b334e 100644 (file)
@@ -624,7 +624,7 @@ python () {
             d.appendVarFlag('do_unpack', 'depends', ' lzip-native:do_populate_sysroot')
 
         # *.xz should DEPEND on xz-native for unpacking
-        elif path.endswith('.xz'):
+        elif path.endswith('.xz') or path.endswith('.txz'):
             d.appendVarFlag('do_unpack', 'depends', ' xz-native:do_populate_sysroot')
 
         # .zip should DEPEND on unzip-native for unpacking