tree: 588bd6247cc37582099f3e89a049f92bd353079d
  1. BUILD.md
  2. LICENSE
  3. package-bitbake-setup.py
  4. pyproject.toml
  5. README.md
upstream-layers/bitbake/packaging-pypi/bitbake-setup/README.md

bitbake-setup

This package provides the bitbake-setup command and the Python modules required to support BitBake setup and configuration.

Usage

Instructions on uses of bitbake-setup can be found in Setting Up the Environment With bitbake-setup from the Yocto Project manual.

List the available configurations;

bitbake-setup list

Show the help for the bitbake-setup init subcommand:

bitbake-setup init --help
usage: bitbake-setup init [-h] [--non-interactive] [--source-overrides SOURCE_OVERRIDES] [--setup-dir-name SETUP_DIR_NAME] [--skip-selection SKIP_SELECTION] [-L SOURCE_NAME PATH]
                          [config ...]

positional arguments:
  config                path/URL/id to a configuration file (use 'list' command to get available ids), followed by configuration options. Bitbake-setup will ask to choose from available
                        choices if command line doesn't completely specify them.

options:
  -h, --help            show this help message and exit
  --non-interactive     Do not ask to interactively choose from available options; if bitbake-setup cannot make a decision it will stop with a failure.
  --source-overrides SOURCE_OVERRIDES
                        Override sources information (repositories/revisions) with values from a local json file.
  --setup-dir-name SETUP_DIR_NAME
                        A custom setup directory name under the top directory.
  --skip-selection SKIP_SELECTION
                        Do not select and set an option/fragment from available choices; the resulting bitbake configuration may be incomplete.
  -L SOURCE_NAME PATH, --use-local-source SOURCE_NAME PATH
                        Symlink local source into a build, instead of getting it as prescribed by a configuration (useful for local development).

To initialize a workspace for the Poky reference distro using the development branch (ie. “master”) of OpenEmbedded:

bitbake-setup init poky-master