From 58af8c2e4bd17692274fc5a6ac8f8af84319fec6 Mon Sep 17 00:00:00 2001 From: André Draszik Date: Fri, 17 Nov 2017 21:43:51 +0000 Subject: base: add automatic dependency on xz-native for .txz SRC_URI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit .txz is .tar.xz, so add it, as this can actually be found in the wild. Signed-off-by: André Draszik Signed-off-by: Ross Burton --- 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 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 -- cgit 1.2.3-korg