[bitbake-devel] [PATCH 15/38] toaster: update conf/local.conf
Michael Wood
michael.g.wood at intel.com
Wed Apr 6 16:46:25 UTC 2016
From: Ed Bartosh <ed.bartosh at linux.intel.com>
Added 'INHERIT+="toaster buildhistory"' line to the conf/local conf
when Toaster starts. It should make commandline builds to provide
all required information to Toaster backend.
Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
Signed-off-by: Michael Wood <michael.g.wood at intel.com>
---
bin/toaster | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/bin/toaster b/bin/toaster
index 5cc77ed..dfaff2e 100755
--- a/bin/toaster
+++ b/bin/toaster
@@ -252,9 +252,9 @@ case $CMD in
fi
# Create configuration file
- conf=${BUILDDIR}/conf/toaster.conf
- echo "# Created by toaster start script" > $conf
- echo "INHERIT+=\"toaster buildhistory\"" >> $conf
+ conf=${BUILDDIR}/conf/local.conf
+ line='INHERIT+="toaster buildhistory"'
+ grep -q "$line" $conf || echo $line >> $conf
if [ $WEBSERVER -gt 0 ] && ! webserverStartAll; then
echo "Failed ${CMD}."
--
2.1.4
More information about the bitbake-devel
mailing list