Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] base: add automatic dependency on xz-native for .txz SRC_URI
@ 2017-11-17 21:43 André Draszik
  0 siblings, 0 replies; only message in thread
From: André Draszik @ 2017-11-17 21:43 UTC (permalink / raw)
  To: openembedded-core

.txz is .tar.xz, so add it, as this can actually be found in the
wild.

Signed-off-by: André Draszik <git@andred.net>
---
 meta/classes/base.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 8c8697761c..8dd4091717 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
-- 
2.15.0.rc0



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-17 21:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-17 21:43 [PATCH] base: add automatic dependency on xz-native for .txz SRC_URI André Draszik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox