classes/base: add explicit bzip2-native dependency for unpacking .bz2
PATCH v2 1/1 classes/base: add explicit bzip2-native dependency for unpacking .bz2
Currently this is in ASSUME_PROVIDED and HOSTTOOLS so doesn't have any effect, but declaring the dependency is the right thing to do.
Signed-off-by Ross Burton <[email protected]>
--- meta/classes-global/base.bbclass | 4 ++++ 1 file changed, 4 insertions(+)
meta/classes-global/base.bbclass +4 -0
@@ -662,6 +662,10 @@ python () { if path.endswith('.lz4'): d.appendVarFlag('do_unpack', 'depends', ' lz4-native:do_populate_sysroot') + # *.bz2 should DEPEND on bzip2-native for unpacking + elif path.endswith('.bz2'): + d.appendVarFlag('do_unpack', 'depends', ' bzip2-native:do_populate_sysroot') + # *.zst should DEPEND on zstd-native for unpacking elif path.endswith('.zst'): d.appendVarFlag('do_unpack', 'depends', ' zstd-native:do_populate_sysroot')
Signature · 1 line
2.43.0