mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 00:32:14 +02:00
base.bbclass: add automatic dependency on xz-native for .deb SRC_URI
FetchMethod.unpack requires xz for unpacking of embedded data.tar.xz (From OE-Core rev: 57f0a4ee29b9fc15749a9d42fdf01718a7099c2d) Signed-off-by: Dariusz Pelowski <dariusz.pelowski@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3c14bb4de2
commit
ad51bba5a9
@@ -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)}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user