[PATCH 1/2] defaultenv-2: Fix verbose booting

Sascha Hauer s.hauer at pengutronix.de
Wed Apr 17 07:40:02 EDT 2013


During option parsing we use the variable BOOT_BOOTMOPTS, all other
scripts use BOOT_BOOTM_OPTS though. Fix this by using the same variable
everywhere.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 defaultenv-2/base/bin/boot | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/defaultenv-2/base/bin/boot b/defaultenv-2/base/bin/boot
index f7f460e..eed4b3c 100644
--- a/defaultenv-2/base/bin/boot
+++ b/defaultenv-2/base/bin/boot
@@ -17,7 +17,7 @@ $0 [OPTIONS] [source]\n
 
 while getopt "vdhl" opt; do
 	if [ ${opt} = v ]; then
-		BOOT_BOOTMOPTS="$BOOT_BOOTMOPTS -v"
+		BOOT_BOOTM_OPTS="$BOOT_BOOTM_OPTS -v"
 		BOOT_VERBOSE=1
 	elif [ ${opt} = d ]; then
 		BOOT_DRYRUN=1
-- 
1.8.2.rc2




More information about the barebox mailing list