diff options
author | Dariusz Pelowski <dariusz.pelowski@gmail.com> | 2018-01-13 11:58:10 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-14 09:11:58 +0000 |
commit | ad51bba5a90384b728c06f64b72ef41c6490a701 (patch) | |
tree | 17cae5f67d824c357c3b31fb2082b26bc36c1ba9 /meta/classes/base.bbclass | |
parent | 3c14bb4de21b7d7505d5e6e330d1876bd6f6c0df (diff) | |
download | poky-ad51bba5a90384b728c06f64b72ef41c6490a701.tar.gz |
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>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 4 |
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 () { | |||
628 | elif path.endswith('.rpm'): | 628 | elif path.endswith('.rpm'): |
629 | d.appendVarFlag('do_unpack', 'depends', ' xz-native:do_populate_sysroot') | 629 | d.appendVarFlag('do_unpack', 'depends', ' xz-native:do_populate_sysroot') |
630 | 630 | ||
631 | # *.deb should DEPEND on xz-native for unpacking | ||
632 | elif path.endswith('.deb'): | ||
633 | d.appendVarFlag('do_unpack', 'depends', ' xz-native:do_populate_sysroot') | ||
634 | |||
631 | if needsrcrev: | 635 | if needsrcrev: |
632 | d.setVar("SRCPV", "${@bb.fetch2.get_srcrev(d)}") | 636 | d.setVar("SRCPV", "${@bb.fetch2.get_srcrev(d)}") |
633 | 637 | ||