meta data for this page
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| sw:yocto:bitbake:tips [2022/07/27 12:06] – created niziak | sw:yocto:bitbake:tips [2025/06/11 11:55] (current) – niziak | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| * [[https:// | * [[https:// | ||
| + | |||
| + | ===== Pass env variables to bitbake ===== | ||
| + | |||
| + | To control additional or user defined recipe' | ||
| + | <code bash> | ||
| + | export foo=" | ||
| + | export BB_ENV_PASSTHROUGH_ADDITIONS=" | ||
| + | bitbake ... | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ===== add files to rootfs ===== | ||
| + | |||
| + | '' | ||
| + | |||
| + | ===== override .conf ===== | ||
| + | |||
| + | No override or appends mechanism. But some workaround possible: | ||
| + | |||
| + | - override variables in '' | ||
| + | - create new conf file and inherit old one with '' | ||
| + | - create new conf file with the same name to mask old file (take care of layer priority) | ||
| + | |||
| + | ===== MACHINEOVERRIDES ===== | ||
| + | |||
| + | When creatung new machine.conf based on existing one [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | ===== logging ===== | ||
| + | |||
| + | <code bash> | ||
| + | inherit logging | ||
| + | |||
| + | bb.debug(" | ||
| + | |||
| + | </ | ||
| + | |||