From: Alexander Kanavin <alex.kanavin@gmail.com>
To: bitbake-devel@lists.openembedded.org
Cc: paul@pbarker.dev, Alexander Kanavin <alex@linutronix.de>
Subject: [PATCH 2/4] bitbake-setup: override complete source entries, not just the git-remote properties
Date: Thu, 11 Dec 2025 15:25:30 +0100 [thread overview]
Message-ID: <20251211142532.983960-2-alex.kanavin@gmail.com> (raw)
In-Reply-To: <20251211142532.983960-1-alex.kanavin@gmail.com>
From: Alexander Kanavin <alex@linutronix.de>
The code was assuming that a source entry always contains
a git-remote property, and that is the only property that
should be replaced.
With upcoming introduction of local sources (using 'local' as a
property as an alternative to the existing 'git-remote'
property) that is no longer true.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
bin/bitbake-setup | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/bitbake-setup b/bin/bitbake-setup
index b1d751899..8d4e9769a 100755
--- a/bin/bitbake-setup
+++ b/bin/bitbake-setup
@@ -323,7 +323,7 @@ def update_build(config, confdir, setupdir, layerdir, d, update_bb_conf="prompt"
layer_overrides = config["source-overrides"]["sources"]
for k,v in layer_overrides.items():
if k in layer_config:
- layer_config[k]["git-remote"] = v["git-remote"]
+ layer_config[k] = v
sources_fixed_revisions = checkout_layers(layer_config, layerdir, d)
bitbake_config = config["bitbake-config"]
thisdir = os.path.dirname(config["path"]) if config["type"] == 'local' else None
--
2.47.3
next prev parent reply other threads:[~2025-12-11 14:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-11 14:25 [PATCH 1/4] setup-schema/layers.schema.json: correct indentation Alexander Kanavin
2025-12-11 14:25 ` Alexander Kanavin [this message]
2025-12-12 11:31 ` [PATCH 2/4] bitbake-setup: override complete source entries, not just the git-remote properties Paul Barker
2025-12-11 14:25 ` [PATCH 3/4] bitbake-setup: use separate functions for git-specific operations Alexander Kanavin
2025-12-12 11:35 ` Paul Barker
2025-12-11 14:25 ` [PATCH 4/4] bitbake-setup: implement symlinking local sources into builds Alexander Kanavin
2025-12-12 8:11 ` [bitbake-devel] " Antonin Godard
2025-12-12 15:27 ` Alexander Kanavin
2025-12-12 11:27 ` Paul Barker
2025-12-12 15:19 ` Alexander Kanavin
2025-12-12 11:30 ` [PATCH 1/4] setup-schema/layers.schema.json: correct indentation Paul Barker
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=20251211142532.983960-2-alex.kanavin@gmail.com \
--to=alex.kanavin@gmail.com \
--cc=alex@linutronix.de \
--cc=bitbake-devel@lists.openembedded.org \
--cc=paul@pbarker.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.