diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-04-06 17:46:25 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-06 23:00:10 +0100 |
commit | 1271cf430087c66f87c46689b37b8a3538c35739 (patch) | |
tree | bfc507ba63d2c813eb7d4c740155ce324a6b73b1 /bin/toaster | |
parent | 062c68e3e7d00834118fe07ceb0899874be714ae (diff) | |
download | openembedded-core-contrib-1271cf430087c66f87c46689b37b8a3538c35739.tar.gz |
toaster: update conf/local.conf
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@linux.intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin/toaster')
-rwxr-xr-x | bin/toaster | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/toaster b/bin/toaster index 5cc77edb33..dfaff2e071 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}." |