Skip to contentSkip to conversation

base: add automatic dependency on xz-native for .txz SRC_URI

PATCH New André Draszik 1 participant 1 message Nov 17, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta/classes/base.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/base.bbclass +1 -1
index 8c8697761c..8dd4091717 100644
@@ -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
Signature · 1 line
2.15.0.rc0