]> 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>
Mon, 4 Dec 2017 17:14:34 +0000 (17:14 +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>
(cherry picked from commit 58af8c2e4bd17692274fc5a6ac8f8af84319fec6)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/base.bbclass

index e375afbda0af846853f405c0859089918b0cd39f..bd0d6e3ca60c561006431d04384e464b47e8dae7 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