From: California Sullivan <california.l.sulli...@intel.com>

The first time the config is successfully ran the worker-init script will also
be fixed to use info from this host and autobuilder instance.

Signed-off-by: California Sullivan <california.l.sulli...@intel.com>
---
 yocto-autobuilder-setup | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/yocto-autobuilder-setup b/yocto-autobuilder-setup
index aee71ce..a74d033 100644
--- a/yocto-autobuilder-setup
+++ b/yocto-autobuilder-setup
@@ -153,6 +153,10 @@ if [ -n "${config_check:+x}" ]; then
     sed -i "s/<USER>/$username/g" ${PWD}/yocto-worker/buildbot.tac
     sed -i "s/<PASS>/$password/g" ${PWD}/yocto-worker/buildbot.tac
     echo ""
+    echo " Updating worker-init script used for google cloud building. "
+    sed -i "s/<HOST_ADDR>/$HOST_ADDR/' ${PWD}/bin/worker-init
+    sed -i "s/<PASS>/$password/' ${PWD}/bin/worker-init
+    echo ""
     echo " If you wish to use your own generated username and password please "
     echo " modify the above files as needed. Please see the README for more "
     echo " information. "
-- 
1.9.1

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to