summaryrefslogtreecommitdiffstats
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:06:13 +0000
commitf811a37401e62a7694903020d4d715b8b62a3b5d (patch)
tree2d56f0ae773ce59ffcc126d457077d7b1588a5f9
parent92e9b56bbc9b36a9973b681dec17536a9d001e44 (diff)
downloadpoky-f811a37401e62a7694903020d4d715b8b62a3b5d.tar.gz
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. (From OE-Core rev: 58af8c2e4bd17692274fc5a6ac8f8af84319fec6) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 () {
624 d.appendVarFlag('do_unpack', 'depends', ' lzip-native:do_populate_sysroot') 624 d.appendVarFlag('do_unpack', 'depends', ' lzip-native:do_populate_sysroot')
625 625
626 # *.xz should DEPEND on xz-native for unpacking 626 # *.xz should DEPEND on xz-native for unpacking
627 elif path.endswith('.xz'): 627 elif path.endswith('.xz') or path.endswith('.txz'):
628 d.appendVarFlag('do_unpack', 'depends', ' xz-native:do_populate_sysroot') 628 d.appendVarFlag('do_unpack', 'depends', ' xz-native:do_populate_sysroot')
629 629
630 # .zip should DEPEND on unzip-native for unpacking 630 # .zip should DEPEND on unzip-native for unpacking