summaryrefslogtreecommitdiffstats
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
authorDariusz Pelowski <dariusz.pelowski@gmail.com>2018-01-13 11:58:10 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-14 09:11:28 +0000
commit57f0a4ee29b9fc15749a9d42fdf01718a7099c2d (patch)
tree7cf2489a083c2ef66f28e0e604cb2a8e8acaee5a /meta/classes/base.bbclass
parentc43c054cb778e0c5c082996cd6e6c45f5fc9e1bf (diff)
downloadopenembedded-core-57f0a4ee29b9fc15749a9d42fdf01718a7099c2d.tar.gz
openembedded-core-57f0a4ee29b9fc15749a9d42fdf01718a7099c2d.tar.bz2
openembedded-core-57f0a4ee29b9fc15749a9d42fdf01718a7099c2d.zip
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@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r--meta/classes/base.bbclass4
1 files changed, 4 insertions, 0 deletions
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)}")