* [meta-oe][PATCH] base.bbclass: add automatic dependency on xz-native for .deb SRC_URI
@ 2018-01-13 10:58 Dariusz Pelowski
0 siblings, 0 replies; only message in thread
From: Dariusz Pelowski @ 2018-01-13 10:58 UTC (permalink / raw)
To: openembedded-core
FetchMethod.unpack requires xz for unpacking of embedded
data.tar.xz
Signed-off-by: Dariusz Pelowski <dariusz.pelowski@gmail.com>
---
meta/classes/base.bbclass | 4 ++++
1 file changed, 4 insertions(+)
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)}")
--
2.15.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-01-13 10:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-13 10:58 [meta-oe][PATCH] base.bbclass: add automatic dependency on xz-native for .deb SRC_URI Dariusz Pelowski
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.