Patchwork [bitbake-devel] "per-package" should say "per-recipe"

login
register
mail settings
Submitter Robert P. J. Day
Date July 22, 2014, 9:54 p.m.
Message ID <alpine.LFD.2.11.1407221753510.15822@localhost>
Download mbox | patch
Permalink /patch/76431/
State New
Headers show

Comments

Robert P. J. Day - July 22, 2014, 9:54 p.m.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

Patch

diff --git a/bin/bitbake b/bin/bitbake
index e31a636..39aa3ec 100755
--- a/bin/bitbake
+++ b/bin/bitbake
@@ -148,7 +148,7 @@  class BitBakeConfigParameters(cookerdata.ConfigParameters):
         parser.add_option("-s", "--show-versions", help = "Show current and preferred versions of all recipes.",
                    action = "store_true", dest = "show_versions", default = False)

-        parser.add_option("-e", "--environment", help = "Show the global or per-package environment complete with information about where variables were set/changed.",
+        parser.add_option("-e", "--environment", help = "Show the global or per-recipe environment complete with information about where variables were set/changed.",
                    action = "store_true", dest = "show_environment", default = False)

         parser.add_option("-g", "--graphviz", help = "Save dependency tree information for the specified targets in the dot syntax.",
diff --git a/doc/bitbake-user-manual/bitbake-user-manual-intro.xml b/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
index ade91e9..d348bc9 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
+++ b/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
@@ -515,7 +515,7 @@ 
                              handler is required.
        -p, --parse-only      Quit after parsing the BB recipes.
        -s, --show-versions   Show current and preferred versions of all recipes.
-       -e, --environment     Show the global or per-package environment complete
+       -e, --environment     Show the global or per-recipe environment complete
                              with information about where variables were
                              set/changed.
        -g, --graphviz        Save dependency tree information for the specified
diff --git a/doc/bitbake.1 b/doc/bitbake.1
index 15a7f20..a6c8d97 100644
--- a/doc/bitbake.1
+++ b/doc/bitbake.1
@@ -89,7 +89,7 @@  quit after parsing the BB files (developers only)
 show current and preferred versions of all packages
 .TP
 .B \-e, \-\-environment
-show the global or per-package environment (this is what used to be bbread)
+show the global or per-recipe environment (this is what used to be bbread)
 .TP
 .B \-g, \-\-graphviz
 emit the dependency trees of the specified packages in the dot syntax
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index f44a088..ecb3f9b 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -402,7 +402,7 @@  class BBCooker:

     def showEnvironment(self, buildfile = None, pkgs_to_build = []):
         """
-        Show the outer or per-package environment
+        Show the outer or per-recipe environment
         """
         fn = None
         envdata = None