Patchwork utils.bbclass: Fix documentation of create_cmdline_wrapper

login
register
mail settings
Submitter Richard Purdie
Date Nov. 13, 2012, 2:06 p.m.
Message ID <1352815617.24487.126.camel@ted>
Download mbox | patch
Permalink /patch/38925/
State Accepted
Commit 68b7f18edd6b487f5d303ffda46d24fd2a4f3a2f
Headers show

Comments

Richard Purdie - Nov. 13, 2012, 2:06 p.m.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
--
cgit v0.9.0.3-4-gf50b

Patch

diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass
index c47ad69..52e511f 100644
--- a/meta/classes/utils.bbclass
+++ b/meta/classes/utils.bbclass
@@ -246,12 +246,12 @@  oe_machinstall() {
 }
 
 create_cmdline_wrapper () {
-	# Create a wrapper script
+	# Create a wrapper script where commandline options are needed
 	#
-	# These are useful to work around relocation issues, by setting environment
-	# variables which point to paths in the filesystem.
+	# These are useful to work around relocation issues, by passing extra options 
+	# to a program
 	#
-	# Usage: create_wrapper FILENAME [[VAR=VALUE]..]
+	# Usage: create_cmdline_wrapper FILENAME <extra-options>
 
 	cmd=$1
 	shift
@@ -269,7 +269,7 @@  END
 }
 
 create_wrapper () {
-	# Create a wrapper script
+	# Create a wrapper script where extra environment variables are needed
 	#
 	# These are useful to work around relocation issues, by setting environment
 	# variables which point to paths in the filesystem.