summaryrefslogtreecommitdiffstats
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
authorAndré Draszik <git@andred.net>2017-11-17 21:43:51 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-21 13:05:36 +0000
commit58af8c2e4bd17692274fc5a6ac8f8af84319fec6 (patch)
treec88930039b3f8215979b60850ebbd6de6f008852 /meta/classes/base.bbclass
parent0d6e83757fc26d3e88bfe3c2437b5c7c9be09118 (diff)
downloadopenembedded-core-58af8c2e4bd17692274fc5a6ac8f8af84319fec6.tar.gz
openembedded-core-58af8c2e4bd17692274fc5a6ac8f8af84319fec6.tar.bz2
openembedded-core-58af8c2e4bd17692274fc5a6ac8f8af84319fec6.zip
base: add automatic dependency on xz-native for .txz SRC_URI
.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>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r--meta/classes/base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index cc3d93ac41..1a3272052c 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -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