Closed cpb- closed 2 months ago
hmm
bitbake -e has multiple variants, all of which are usefull
bitbake -e
bitbake -e <image>
bitbake -e <any recipe>
how would you proposal work for that ?
🤨
what about cooker shell <target> bitbake -e
?
$ cooker shell raspberrypi4 bitbake -e
usage: cooker [-h] [--debug] [--version] [-v] [-n]
{cook,init,update,diff,log,generate,show,build,shell,clean} ...
cooker: error: unrecognized arguments: -e
$ cooker shell raspberrypi4 "bitbake -e"
/bin/bash: line 1: bitbake -e: command not found
Doesn't work, but would this be an acceptable solution?
Never mind, I've done it another way.
I would be interested in a
cooker dumpenv [build]
command.Instead of running
bitbake <image-name>
it would runbitbake -e <image-name>
and redirect the standard output to aenvironment.txt
file located in the build directory.It would be useful to see the content of some quite complex variables (
*OVERRIDES
or*_FEATURES
for example) afterbitbake
parsing of the recipes.Any comment?