[yocto] [PATCH 04/13] yocto-autobuilder-setup: Add address and host replacement for worker-init
californialsullivan at gmail.com
californialsullivan at gmail.com
Tue Sep 23 10:13:45 PDT 2014
From: California Sullivan <california.l.sullivan at 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.sullivan at 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
More information about the yocto
mailing list