]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
toaster: run bitbake server with --read option
authorEd Bartosh <ed.bartosh@linux.intel.com>
Fri, 22 Jan 2016 12:18:37 +0000 (12:18 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Jan 2016 12:45:14 +0000 (12:45 +0000)
Toaster script run bitbake with --postread conf/toaster.conf.
It turned out that variables set this way don't influence the
build. Changing --postread to --read makes bitbake to read
variables earlier and should fix this issue.

[YOCTO #8781]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bin/toaster

index e5041cbb99d07702d6536e55476614af4f0bfc6c..72eae64166d8b6dd524a6d0893f7fafcdcc8342c 100755 (executable)
@@ -108,7 +108,7 @@ stop_system()
 
 start_bitbake() {
     unset BBSERVER
-    bitbake --postread conf/toaster.conf --server-only -t xmlrpc -B 0.0.0.0:0
+    bitbake --read conf/toaster.conf --server-only -t xmlrpc -B 0.0.0.0:0
     if [ $? -ne 0 ]; then
         echo "Bitbake server start failed"
         return 1