bitbake: cookerdata: Change emphasis in error message to be clearer to users

Users are misreading this message. Reorder the wording to make
the empahsis clearer on the shell environment.

(Bitbake rev: dd2475e36af470ea47b0841d181444e36aa6e947)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2022-05-04 12:55:17 +01:00
parent 7d216bcc1e
commit 934627728d

View File

@@ -248,7 +248,7 @@ class CookerDataBuilder(object):
for k in cookercfg.env:
self.savedenv.setVar(k, cookercfg.env[k])
if k in bb.data_smart.bitbake_renamed_vars:
bb.error('Variable %s from the shell environment has been renamed to %s' % (k, bb.data_smart.bitbake_renamed_vars[k]))
bb.error('Shell environment variable %s has been renamed to %s' % (k, bb.data_smart.bitbake_renamed_vars[k]))
bb.fatal("Exiting to allow enviroment variables to be corrected")
filtered_keys = bb.utils.approved_variables()