From: Dariusz Pelowski Date: Sat, 13 Jan 2018 10:58:10 +0000 (+0100) Subject: base.bbclass: add automatic dependency on xz-native for .deb SRC_URI X-Git-Tag: uninative-1.8~661 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=57f0a4ee29b9fc15749a9d42fdf01718a7099c2d;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 6fe611489f..912e81e002 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)}")