summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2014-02-15 16:28:55 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-17 15:37:17 +0000
commitd66b3d8b4ec3d2121ce83adc49fd0ad995bb5a01 (patch)
treedf1809edab61f4fbacf244940776819471843875
parent46bc59d87da18d7cd2d8d25fe96263efe5e57590 (diff)
downloadpoky-d66b3d8b4ec3d2121ce83adc49fd0ad995bb5a01.tar.gz
bitbake-prserv-tool: make help text show .conf suffix
'export' will accept any output filename, but 'import' needs a '.conf' suffix to work. Otherwise you'll get: koen@beast:/build/v2013.12$ bitbake-prserv-tool import x.txt ERROR: Traceback (most recent call last): File "/build/v2013.12/sources/bitbake/lib/bb/cookerdata.py", line 162, in wrapped return func(fn, *args) File "/build/v2013.12/sources/bitbake/lib/bb/cookerdata.py", line 172, in parse_config_file return bb.parse.handle(fn, data, include) File "/build/v2013.12/sources/bitbake/lib/bb/parse/__init__.py", line 100, in handle raise ParseError("not a BitBake file", fn) ParseError: ParseError in x.txt: not a BitBake file ERROR: Unable to parse x.txt: ParseError in x.txt: not a BitBake file Importing from file x.txt failed! (From OE-Core rev: 704878ba025fda931be6accbb74cfdb14ffb55e9) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/bitbake-prserv-tool4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/bitbake-prserv-tool b/scripts/bitbake-prserv-tool
index 96a34702c9..28c2416bfe 100755
--- a/scripts/bitbake-prserv-tool
+++ b/scripts/bitbake-prserv-tool
@@ -5,8 +5,8 @@ help ()
5 base=`basename $0` 5 base=`basename $0`
6 echo -e "Usage: $base command" 6 echo -e "Usage: $base command"
7 echo "Avaliable commands:" 7 echo "Avaliable commands:"
8 echo -e "\texport <file>: export and lock down the AUTOPR values from the PR service into a file for release." 8 echo -e "\texport <file.conf>: export and lock down the AUTOPR values from the PR service into a file for release."
9 echo -e "\timport <file>: import the AUTOPR values from the exported file into the PR service." 9 echo -e "\timport <file.conf>: import the AUTOPR values from the exported file into the PR service."
10} 10}
11 11
12clean_cache() 12clean_cache()