From: Adam Blank <adam.blank.g@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Adam Blank <adam.blank.g@gmail.com>
Subject: [PATCH v2 1/6] staging: add 'extend_recipe_sysroot' to 'vardepsexclude'
Date: Sat, 18 Jul 2026 15:25:07 +0200 [thread overview]
Message-ID: <20260718-extend_recipe_sysroot-v2-1-b7cbf35d00ec@gmail.com> (raw)
In-Reply-To: <20260718-extend_recipe_sysroot-v2-0-b7cbf35d00ec@gmail.com>
'do_prepare_recipe_sysroot' did not declare this explicitly,
but made use of the fact, that 'extend_recipe_sysroot' is
ignored on the base hash level.
Also for cached tasks, when prepending them with
'extend_recipe_sysroot', exclude it from their signatures.
Signed-off-by: Adam Blank <adam.blank.g@gmail.com>
---
meta/classes-global/staging.bbclass | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/classes-global/staging.bbclass b/meta/classes-global/staging.bbclass
index f0b3c6eedc..5833abebc8 100644
--- a/meta/classes-global/staging.bbclass
+++ b/meta/classes-global/staging.bbclass
@@ -650,6 +650,7 @@ do_prepare_recipe_sysroot[deptask] = "do_populate_sysroot"
python do_prepare_recipe_sysroot () {
bb.build.exec_func("extend_recipe_sysroot", d)
}
+do_prepare_recipe_sysroot[vardepsexclude] += "extend_recipe_sysroot"
addtask do_prepare_recipe_sysroot before do_configure after do_fetch
python staging_taskhandler() {
@@ -665,6 +666,7 @@ python staging_taskhandler() {
deps = d.getVarFlag(task, "depends")
if task == "do_configure" or (deps and "populate_sysroot" in deps):
d.prependVarFlag(task, "prefuncs", "extend_recipe_sysroot ")
+ d.appendVarFlag(task, "vardepsexclude", " extend_recipe_sysroot")
}
staging_taskhandler[eventmask] = "bb.event.RecipeTaskPreProcess"
addhandler staging_taskhandler
@@ -700,4 +702,3 @@ python target_add_sysroot_deps () {
d.setVar("HASHEQUIV_EXTRA_SIGDATA", "\n".join("%s: %s" % (k, deps[k]) for k in sorted(deps.keys())))
}
SSTATECREATEFUNCS += "target_add_sysroot_deps"
-
--
2.43.0
next prev parent reply other threads:[~2026-07-18 13:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-18 13:25 [PATCH v2 0/6] Remove 'extend_recipe_sysroot' from 'BB_HASHEXCLUDE_COMMON' Adam Blank
2026-07-18 13:25 ` Adam Blank [this message]
2026-07-18 13:25 ` [PATCH v2 2/6] cross: add 'extend_recipe_sysroot' to 'vardepsexclude' Adam Blank
2026-07-18 13:25 ` [PATCH v2 3/6] native: " Adam Blank
2026-07-18 13:25 ` [PATCH v2 4/6] wic-tool: " Adam Blank
2026-07-18 13:25 ` [PATCH v2 5/6] gcc-runtime: " Adam Blank
2026-07-18 13:25 ` [PATCH v2 6/6] bitbake.conf: remove 'extend_recipe_sysroot' from BB_HASHEXCLUDE_COMMON Adam Blank
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=20260718-extend_recipe_sysroot-v2-1-b7cbf35d00ec@gmail.com \
--to=adam.blank.g@gmail.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