public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH 1/2] classes/base: add explicit bzip2-native dependency for unpacking .bz2
@ 2026-04-21 15:12 Ross Burton
  2026-04-21 15:12 ` [PATCH 2/2] quilt: remove bzip2 RDEPENDS Ross Burton
  0 siblings, 1 reply; 2+ messages in thread
From: Ross Burton @ 2026-04-21 15:12 UTC (permalink / raw)
  To: openembedded-core

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 <ross.burton@arm.com>
---
 meta/classes-global/base.bbclass | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/classes-global/base.bbclass b/meta/classes-global/base.bbclass
index 76fd0ac046a..ddf1d784a10 100644
--- a/meta/classes-global/base.bbclass
+++ b/meta/classes-global/base.bbclass
@@ -658,6 +658,10 @@ python () {
         elif uri.scheme == "repo":
             d.appendVarFlag('do_fetch', 'depends', ' repo-native:do_populate_sysroot')
 
+        # *.bz2 should DEPEND on bzip2-native for unpacking
+        if path.endswith('.bz2'):
+            d.appendVarFlag('do_unpack', 'depends', ' bzip2-native:do_populate_sysroot')
+
         # *.lz4 should DEPEND on lz4-native for unpacking
         if path.endswith('.lz4'):
             d.appendVarFlag('do_unpack', 'depends', ' lz4-native:do_populate_sysroot')
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-04-21 15:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-21 15:12 [PATCH 1/2] classes/base: add explicit bzip2-native dependency for unpacking .bz2 Ross Burton
2026-04-21 15:12 ` [PATCH 2/2] quilt: remove bzip2 RDEPENDS Ross Burton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox