| Message ID | 20251117-bitbake-setup-abort-v2-0-a73f44e83bc0@bootlin.com |
|---|---|
| Headers | show |
| Series | bitbake-setup init improvements | expand |
Thanks, v2 lgtm. Alex On Mon, 17 Nov 2025 at 09:16, Antonin Godard via lists.openembedded.org <antonin.godard=bootlin.com@lists.openembedded.org> wrote: > > 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 > > Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> > --- > 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/20251114-bitbake-setup-abort-v1-0-d2f9967df3b1@bootlin.com > > --- > 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 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#18415): https://lists.openembedded.org/g/bitbake-devel/message/18415 > Mute This Topic: https://lists.openembedded.org/mt/116334413/1686489 > Group Owner: bitbake-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/bitbake-devel/unsub [alex.kanavin@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
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 Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> --- 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/20251114-bitbake-setup-abort-v1-0-d2f9967df3b1@bootlin.com --- 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