[gnome-continuous-yocto/gnomeostree-3.28-rocko: 8223/8267] base: add automatic dependency on xz-native for .txz SRC_URI



commit 311245d89f222e07200346451fd4bc73c01a7fc3
Author: André Draszik <git andred net>
Date:   Fri Nov 17 21:43:51 2017 +0000

    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: 866ead1d900433e39772973b4b31b7408ed8a215)
    
    Signed-off-by: André Draszik <git andred net>
    Signed-off-by: Ross Burton <ross burton intel com>
    (cherry picked from commit 58af8c2e4bd17692274fc5a6ac8f8af84319fec6)
    Signed-off-by: Armin Kuster <akuster808 gmail com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/classes/base.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index e375afb..bd0d6e3 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]