From: Ross Burton <ross.burton@arm.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 1/2] classes/base: add explicit bzip2-native dependency for unpacking .bz2
Date: Tue, 21 Apr 2026 16:12:46 +0100 [thread overview]
Message-ID: <20260421151247.754876-1-ross.burton@arm.com> (raw)
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
next reply other threads:[~2026-04-21 15:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-21 15:12 Ross Burton [this message]
2026-04-21 15:12 ` [PATCH 2/2] quilt: remove bzip2 RDEPENDS Ross Burton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260421151247.754876-1-ross.burton@arm.com \
--to=ross.burton@arm.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox