Samantha Jalabert 4edf3bf2c6 bitbake: Fix disk space monitoring on cephfs 2 년 전
..
bin fd0de1368e bitbake: bitbake: Bump to version 2.4.0 2 년 전
contrib c5f5de1ad5 bitbake: contrib: Add Dockerfile for building PR service 3 년 전
doc 801734bc6c bitbake: bitbake-user-manual: add BB_HASH_CODEPARSER_VALS 2 년 전
lib 4edf3bf2c6 bitbake: Fix disk space monitoring on cephfs 1 년 전
.gitattributes c5882f9212 bitbake: .gitattributes: Add to improve git diff for minified css/js files 6 년 전
AUTHORS 902b5da3f6 misc: Update the email address to a working one. 15 년 전
ChangeLog 8105d4381f *: Fix typo in documentation 15 년 전
LICENSE 79834a7144 bitbake: bitbake: Add initial pass of SPDX license headers to source code 6 년 전
LICENSE.GPL-2.0-only 79834a7144 bitbake: bitbake: Add initial pass of SPDX license headers to source code 6 년 전
LICENSE.MIT 79834a7144 bitbake: bitbake: Add initial pass of SPDX license headers to source code 6 년 전
README 35c7fbab7f bitbake: README: add required python version for bitbake 2 년 전
SECURITY.md 0ac25662c7 bitbake: SECURITY.md: add file 2 년 전
toaster-requirements.txt 618c519a76 bitbake: toaster-requirements.txt: Django 3.2 LTS 3 년 전

README

Bitbake
=======

BitBake is a generic task execution engine that allows shell and Python tasks to be run
efficiently and in parallel while working within complex inter-task dependency constraints.
One of BitBake's main users, OpenEmbedded, takes this core and builds embedded Linux software
stacks using a task-oriented approach.

For information about Bitbake, see the OpenEmbedded website:
https://www.openembedded.org/

Bitbake plain documentation can be found under the doc directory or its integrated
html version at the Yocto Project website:
https://docs.yoctoproject.org

Bitbake requires Python version 3.8 or newer.

Contributing
------------

Please refer to
https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
for guidelines on how to submit patches, just note that the latter documentation is intended
for OpenEmbedded (and its core) not bitbake patches (bitbake-devel@lists.openembedded.org)
but in general main guidelines apply. Once the commit(s) have been created, the way to send
the patch is through git-send-email. For example, to send the last commit (HEAD) on current
branch, type:

git send-email -M -1 --to bitbake-devel@lists.openembedded.org

Mailing list:

https://lists.openembedded.org/g/bitbake-devel

Source code:

https://git.openembedded.org/bitbake/

Testing
-------

Bitbake has a testsuite located in lib/bb/tests/ whichs aim to try and prevent regressions.
You can run this with "bitbake-selftest". In particular the fetcher is well covered since
it has so many corner cases. The datastore has many tests too. Testing with the testsuite is
recommended before submitting patches, particularly to the fetcher and datastore. We also
appreciate new test cases and may require them for more obscure issues.

To run the tests "zstd" and "git" must be installed. Git must be correctly configured, in
particular the user.email and user.name values must be set.

The assumption is made that this testsuite is run from an initialized OpenEmbedded build
environment (i.e. `source oe-init-build-env` is used). If this is not the case, run the
testsuite as follows:

export PATH=$(pwd)/bin:$PATH
bin/bitbake-selftest