[oe-commits] [openembedded-core] 20/20: base.bbclass: add automatic dependency on xz-native for .deb SRC_URI

git at git.openembedded.org git at git.openembedded.org
Sat Jan 13 18:12:56 UTC 2018


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

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

commit 5f85aab56a69b9efa6c9ac709b1316b01a207bdb
Author: Dariusz Pelowski <dariusz.pelowski at gmail.com>
AuthorDate: Sat Jan 13 11:58:10 2018 +0100

    base.bbclass: add automatic dependency on xz-native for .deb SRC_URI
    
    FetchMethod.unpack requires xz for unpacking of embedded
    data.tar.xz
    
    Signed-off-by: Dariusz Pelowski <dariusz.pelowski at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/base.bbclass | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 6fe6114..912e81e 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -628,6 +628,10 @@ python () {
         elif path.endswith('.rpm'):
             d.appendVarFlag('do_unpack', 'depends', ' xz-native:do_populate_sysroot')
 
+        # *.deb should DEPEND on xz-native for unpacking
+        elif path.endswith('.deb'):
+            d.appendVarFlag('do_unpack', 'depends', ' xz-native:do_populate_sysroot')
+
     if needsrcrev:
         d.setVar("SRCPV", "${@bb.fetch2.get_srcrev(d)}")
 

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


More information about the Openembedded-commits mailing list