Skip to contentSkip to conversation

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

PATCH New Richard Purdie 1 participant 1 message May 4, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 lib/bb/cookerdata.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/cookerdata.py +1 -1
index fe5696c704..d54ac932e5 100644
@@ -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()
Signature · 1 line
2.32.0