[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 22:54:36 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 81eebd9382a49c42e8af8d7524d9bf12e29f7924
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