When running any bitbake version >= 2.0 within a pyrex container, bitbake will throw a fatal error during recipe parsing and return code 1.
[0] usr0:build$ bitbake -e glibc
ERROR: Variable BB_ENV_EXTRAWHITE has been renamed to BB_ENV_PASSTHROUGH_ADDITIONS
ERROR: Variable BB_ENV_EXTRAWHITE from the shell environment has been renamed to BB_ENV_PASSTHROUGH_ADDITIONS
ERROR: Exiting to allow enviroment variables to be corrected
The error source is here, and it was added to enforce restrictions on insufficiently inclusive variables being defined in the environment. Bitbake will error whenever BB_ENV_EXTRAWHITE is defined in the execution environment, and it is unconditionally defined by pyrex.
|
# Pass along BB_ENV_EXTRAWHITE and anything it has whitelisted |
|
if "BB_ENV_EXTRAWHITE" in os.environ: |
|
engine_args.extend(["-e", "BB_ENV_EXTRAWHITE"]) |
|
container_envvars.extend(os.environ["BB_ENV_EXTRAWHITE"].split()) |
|
"export": { |
|
"BB_ENV_EXTRAWHITE": "$BB_ENV_EXTRAWHITE", |
|
"BUILDDIR": "$BUILDDIR" |
|
} |
Bitbake 2.0 support is needed for pyrex users to build the OE kirkstone release and beyond.
When running any bitbake version >= 2.0 within a pyrex container, bitbake will throw a fatal error during recipe parsing and return code
1.The error source is here, and it was added to enforce restrictions on insufficiently inclusive variables being defined in the environment. Bitbake will error whenever
BB_ENV_EXTRAWHITEis defined in the execution environment, and it is unconditionally defined by pyrex.pyrex/pyrex.py
Lines 554 to 557 in bebe3f9
pyrex/image/capture.sh
Lines 100 to 103 in bebe3f9
Bitbake 2.0 support is needed for pyrex users to build the OE kirkstone release and beyond.