[oe-commits] [openembedded-core] 101/122: base: add automatic dependency on xz-native for .txz SRC_URI

git at git.openembedded.org git at git.openembedded.org
Mon Dec 4 17:26:19 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch rocko
in repository openembedded-core.

commit 866ead1d900433e39772973b4b31b7408ed8a215
Author: André Draszik <git at andred.net>
AuthorDate: 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.
    
    Signed-off-by: André Draszik <git at andred.net>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    (cherry picked from commit 58af8c2e4bd17692274fc5a6ac8f8af84319fec6)
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 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 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list