poky/bitbake/lib/toaster
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
..
bldcollector bitbake: toaster: Monitoring - implement Django logging system 2023-10-06 11:42:46 +01:00
bldcontrol bitbake: toaster: support bitbake-setup 2025-11-04 17:25:45 +00:00
logs bitbake: toaster: Monitoring - implement Django logging system 2023-10-06 11:42:46 +01:00
orm bitbake: toaster/fixtures: Add whinlatter, drop styhead 2025-05-15 12:23:33 +01:00
tests bitbake: toaster/tests: Fix automated testing failures 2025-06-21 15:35:49 +01:00
toastergui bitbake: lib: Remove double imports 2025-02-27 15:12:55 +00:00
toastermain bitbake: lib: Remove double imports 2025-02-27 15:12:55 +00:00
__init__.py
manage.py bitbake: bitbake: Add copyright headers where missing 2022-08-12 11:49:29 +01:00
pytest.ini bitbake: toaster: fix pytest build test execution and test discovery 2023-12-06 22:37:03 +00:00
tox.ini bitbake: toaster: make django temp directory configurable 2023-11-23 15:25:01 +00:00