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

Message ID 20220504115604.3056455-1-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit dd2475e36af470ea47b0841d181444e36aa6e947
Headers show
Series cookerdata: Change emphasis in error message to be clearer to users | expand

Commit Message

Richard Purdie May 4, 2022, 11:56 a.m. UTC
Users are misreading this message. Reorder the wording to make
the empahsis clearer on the shell environment.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 lib/bb/cookerdata.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/lib/bb/cookerdata.py b/lib/bb/cookerdata.py
index fe5696c704..d54ac932e5 100644
--- a/lib/bb/cookerdata.py
+++ b/lib/bb/cookerdata.py
@@ -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()