From: Quentin Schulz <foss+yocto@0leil.net>
To: bitbake-devel@lists.openembedded.org
Cc: docs@lists.yoctoproject.org,
Quentin Schulz <quentin.schulz@cherry.de>,
Javier Tia <javier.tia@linaro.org>
Subject: [PATCH v2 0/2] doc: bitbake-user-manual-metadata: list known limitations for shell task
Date: Fri, 27 Feb 2026 12:30:14 +0100 [thread overview]
Message-ID: <20260227-shell-invalid-v2-0-df5cec5718bd@cherry.de> (raw)
This fixes an inconsistency regarding the (sub)subsection level used for
all directives, which inherit_defer doesn't respect.
This adds a section for listing limitations for the BitBake shell
parser.
It does seem we have other limitations, specifically everything after
the parameter expansion table[1]. Only ${#parameter} does something,
returning 0, the others return the empty string instead. Maybe we want
to add that to the limitations?
[1] https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_02
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
---
Changes in v2:
- added patch 1 which promote inherit_defer directive subsubsection into
a subsection to match other directives,
- fixed embedded anonymous link syntax by not using one at all,
- removed bashism example from limitations subsubsection,
- added bashism-replacement example next to where we specify tasks are
run with /bin/sh,
- Link to v1: https://patch.msgid.link/20260121-shell-invalid-v1-1-3d49dfcd78a7@cherry.de
---
Quentin Schulz (2):
doc: bitbake-user-manual-metadata: promote inherit_defer directive to subsection
doc: bitbake-user-manual-metadata: list known limitations for shell tasks
.../bitbake-user-manual-metadata.rst | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
---
base-commit: bc8be83aef0a6de85cd33a6f132f281d518594f7
change-id: 20260121-shell-invalid-23639a4f43ce
Best regards,
--
Quentin Schulz <quentin.schulz@cherry.de>
next reply other threads:[~2026-02-27 11:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-27 11:30 Quentin Schulz [this message]
2026-02-27 11:30 ` [PATCH v2 1/2] doc: bitbake-user-manual-metadata: promote inherit_defer directive to subsection Quentin Schulz
2026-02-27 11:30 ` [PATCH v2 2/2] doc: bitbake-user-manual-metadata: list known limitations for shell tasks Quentin Schulz
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=20260227-shell-invalid-v2-0-df5cec5718bd@cherry.de \
--to=foss+yocto@0leil.net \
--cc=bitbake-devel@lists.openembedded.org \
--cc=docs@lists.yoctoproject.org \
--cc=javier.tia@linaro.org \
--cc=quentin.schulz@cherry.de \
/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