poky/bitbake/lib
David Reyna ec569c235d bitbake: toaster: support bitbake-setup
This adds support for the new bitbake-setup:
      * Maintain backwards compatibility for poky-classic releases
      * Assume bitbake-setup for all releases 'master' and forward
      * When no ".templateconf" assume Poky and not OE
      * Generate and use "init-build-env" script instead of 'oe-init-build-env'
        directly, but "cd" to the clone and not the local installation.
      * Include "bblayers.conf" because "cookerdata.py" now explicitly
        required it, and let it be over-ridden by the usual "toaster-bblayers.conf".
      * Force the value "TOPDIR" in "toaster.conf" to the local project's directory.

    Normally "cookerdata.py" sets TOPDIR from getcwd(), but somehow in bitbake-setup
    mode the CWD at this point has become ".../layers/openembedded-core", so
    "bitbake.conf and all other files cannot be found. This non-obvious problem was
    hard to discover. Until this is understood, the forced value will make things work.

    [YOCTO #16012]

(Bitbake rev: 22b3fd418efc10da7e4a8c1725de285714d2396b)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-04 17:25:45 +00:00
..
bb bitbake: bitbake-setup: rename 'build' -> 'setup' 2025-11-04 13:16:04 +00:00
bblayers bitbake: Revert "bblayers/query: Fix using "removeprefix" string method" 2025-03-24 17:29:55 +00:00
bs4 bitbake: lib: Remove double imports 2025-02-27 15:12:55 +00:00
hashserv bitbake: Use a "fork" multiprocessing context 2025-07-23 11:34:31 +01:00
layerindexlib bitbake: layerindexlib: fix missing layer branch backtrace 2024-02-27 11:36:38 +00:00
ply bitbake: lib: Remove double imports 2025-02-27 15:12:55 +00:00
progressbar bitbake: progressbar: Add self._fd_console to use for self._handle_resize() 2025-08-19 11:33:23 +01:00
prserv bitbake: prserv: increment 9 to 10 correctly 2024-09-12 16:17:20 +01:00
simplediff
toaster bitbake: toaster: support bitbake-setup 2025-11-04 17:25:45 +00:00
codegen.py bitbake: codegen: cleanup deprecated AST usages 2023-11-14 23:39:53 +00:00
pyinotify.py bitbake: pyinotify.py: Simplify identification of which event has occurred 2022-04-14 09:48:33 +01:00