poky/bitbake/bin
Johannes Schneider f339e5f07f bitbake: bitbake-setup: fix key-error when changing a new 'section'
Setting a key=value in a new section would raise a key-error when
using in-memory settings, e.g:

./bin/bitbake-setup --setting default top-dir-prefix /tmp/bitbake-setup --setting default top-dir-name gs settings foo bar baz

Loading settings from
    /tmp/bitbake-setup/gs/settings.conf

Traceback (most recent call last):
  File "/tmp/bitbake-setup/bitbake/./bin/bitbake-setup", line 853, in <module>
    main()
  File "/tmp/bitbake-setup/bitbake/./bin/bitbake-setup", line 838, in main
    all_settings = merge_settings(builtin_settings, global_settings, topdir_settings, args.setting)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/bitbake-setup/bitbake/./bin/bitbake-setup", line 733, in merge_settings
    all_settings[section][setting] = value
    ~~~~~~~~~~~~^^^^^^^^^
KeyError: 'foo'

(Bitbake rev: 78ab0d15dff5ccf64b0bf681185370779e6cabaf)

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 18:03:46 +00:00
..
bitbake bitbake: bitbake: Update version to 2.15.2 2025-08-12 10:05:11 +01:00
bitbake-config-build bitbake: bitbake-config-build: add an alias to bitbake-layers 2024-12-13 11:11:18 +00:00
bitbake-diffsigs bitbake: bitbake-diffsigs: fix handling when finding only a single sigfile 2024-07-02 22:29:27 +01:00
bitbake-dumpsig bitbake: bitbake-diffsigs: Merge with bitbake-dumpsig 2019-01-03 12:36:55 +00:00
bitbake-getvar bitbake: bitbake-getvar: skip info output of bitbake for quiet 2025-06-16 22:23:18 +01:00
bitbake-hashclient bitbake: hashserv: Add gc-mark-stream command for batch hash marking 2025-03-13 16:52:44 +00:00
bitbake-hashserv bitbake: hashserv: server: Add support for SO_REUSEPORT 2024-05-30 07:38:10 +01:00
bitbake-layers bitbake: bitbake-config-build: add an alias to bitbake-layers 2024-12-13 11:11:18 +00:00
bitbake-prserv bitbake: bitbake-prserver: use PRSERV_UPSTREAM as default setting 2024-10-11 12:17:36 +01:00
bitbake-selftest bitbake: bitbake-setup: add tests to bitbake-selftest 2025-10-14 11:24:57 +01:00
bitbake-server bitbake: main: Add an option to specify what to profile 2025-07-17 10:45:57 +01:00
bitbake-setup bitbake: bitbake-setup: fix key-error when changing a new 'section' 2025-11-06 18:03:46 +00:00
bitbake-worker bitbake: utils: Refactor filemode variable conversion to a function 2025-07-01 08:49:37 +01:00
git-make-shallow bitbake: bin/git-make-shallow: Fix syntax to work with older git versions 2025-01-10 09:10:06 +00:00
toaster bitbake: toaster: support bitbake-setup 2025-11-04 17:25:45 +00:00
toaster-eventreplay bitbake: toaster: Added new feature to import eventlogs from command line into toaster using replay functionality 2023-12-12 15:58:57 +00:00