From: Anibal Limon <anibal@limonsoftware.com>
To: bitbake-devel@lists.openembedded.org
Cc: antonin.godard@bootlin.com, richard.purdie@linuxfoundation.org,
Anibal Limon <anibal@limonsoftware.com>
Subject: [PATCH][RFC] bitbake-setup: local sources add oe.path.expendvars
Date: Sun, 21 Dec 2025 00:47:50 +0000 [thread overview]
Message-ID: <20251221004750.35128-1-anibal@limonsoftware.com> (raw)
Allow environment variables to be expanded on local sources, allow users
specify layers location using custom environment variables.
Signed-off-by: Anibal Limon <anibal@limonsoftware.com>
---
bin/bitbake-setup | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/bitbake-setup b/bin/bitbake-setup
index 73f734e73..d19aee971 100755
--- a/bin/bitbake-setup
+++ b/bin/bitbake-setup
@@ -129,7 +129,7 @@ def checkout_layers(layers, layerdir, d):
if r_remote:
_checkout_git_remote(r_remote, repodir, layers_fixed_revisions)
if r_local:
- _symlink_local(os.path.expanduser(r_local["path"]), os.path.join(layerdir,repodir))
+ _symlink_local(os.path.expandvars(os.path.expanduser(r_local["path"])), os.path.join(layerdir,repodir))
if os.path.exists(os.path.join(layerdir, repodir, 'scripts/oe-setup-build')):
oesetupbuild = os.path.join(layerdir, repodir, 'scripts/oe-setup-build')
--
2.47.3
next reply other threads:[~2025-12-21 0:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-21 0:47 Anibal Limon [this message]
2025-12-22 11:36 ` [bitbake-devel] [PATCH][RFC] bitbake-setup: local sources add oe.path.expendvars Alexander Kanavin
2025-12-22 16:19 ` Anibal Limon
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=20251221004750.35128-1-anibal@limonsoftware.com \
--to=anibal@limonsoftware.com \
--cc=antonin.godard@bootlin.com \
--cc=bitbake-devel@lists.openembedded.org \
--cc=richard.purdie@linuxfoundation.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