Skip to content

bitbake-setup init improvements

Antonin Godard bitbake-devel 2 versions – In review

Get series with b4
b4 am [email protected] change-id 20251114-bitbake-setup-abort-8a5333c049ea

Versions newest first

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- In the first patch mention that the top dir was created by chance.
- Add if..else so save_bb_cache() is still called after init.
- Make the sigint handler global, print message based on called
function.
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3bitbake-setup: fix top_dir creation in create_siteconfbin/bitbake-setup+1 -10 replies
2/3bitbake-setup: create top-dir later in initbin/bitbake-setup+10 -40 replies
3/3bitbake-setup: handle ctrl+cbin/bitbake-setup+17 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] bitbake-setup init improvements

Improve the init user experience by:

- Creating the top directory only when we need it (and avoid leaving empty directories behind)
- Print a message when a user sends Ctrl+C

---
Changes in v2:
- In the first patch mention that the top dir was created by chance.
- Add if..else so save_bb_cache() is still called after init.
- Make the sigint handler global, print message based on called
function.
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Antonin Godard (3):
bitbake-setup: fix top_dir creation in create_siteconf
bitbake-setup: create top-dir later in init
bitbake-setup: handle ctrl+c

 bin/bitbake-setup | 33 ++++++++++++++++++++++++++++-----
 1 file changed, 28 insertions(+), 5 deletions(-)

---
base-commit: fff23f8ce8f60aba6b89512a734623067661816e
change-id: 20251114-bitbake-setup-abort-8a5333c049ea