Prevent oe-init-build-env from double sourcing
The module affected
oe-core
What is the action to reproduce the bug?
source oe-init-build-env from dunfell, in the same terminal switch to kirkstone directory and source the script again. Try to build the project
What is the result you see?
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
What is the result you expect?
Warning/error to if the script has been sourced already
Frequency?
always
Tested version
N/A
Do you know any workaround of this issue?
Open new session
Do you have a fix for this issue?
Should be implemented upstream first