Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id E60B5E00885; Tue, 30 Sep 2014 09:59:56 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM, NML_ADSP_CUSTOM_MED, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [134.134.136.20 listed in list.dnswl.org] * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (californialsullivan[at]gmail.com) * 0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is * CUSTOM_MED * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.9 NML_ADSP_CUSTOM_MED ADSP custom_med hit, and not from a mailing list Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 970E2E00877 for ; Tue, 30 Sep 2014 09:59:53 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 30 Sep 2014 09:59:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,627,1406617200"; d="scan'208";a="581376976" Received: from sullical-studio-xps-9100.jf.intel.com (HELO sullical-Studio-XPS-9100) ([10.7.198.172]) by orsmga001.jf.intel.com with SMTP; 30 Sep 2014 09:59:50 -0700 Received: by sullical-Studio-XPS-9100 (sSMTP sendmail emulation); Tue, 30 Sep 2014 10:02:23 -0700 From: californialsullivan@gmail.com To: yocto@yoctoproject.org Date: Tue, 30 Sep 2014 10:01:56 -0700 Message-Id: <1412096519-8995-4-git-send-email-californialsullivan@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1412096519-8995-1-git-send-email-californialsullivan@gmail.com> References: <1412096519-8995-1-git-send-email-californialsullivan@gmail.com> Cc: California Sullivan Subject: [PATCH V2 4/7] yocto-autobuilder-setup: Add worker init script setup X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2014 16:59:56 -0000 From: California Sullivan The password and address fields in the worker init script need to be set up. Signed-off-by: California Sullivan --- yocto-autobuilder-setup | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/yocto-autobuilder-setup b/yocto-autobuilder-setup index aee71ce..615deb4 100644 --- a/yocto-autobuilder-setup +++ b/yocto-autobuilder-setup @@ -60,6 +60,7 @@ export OPTIMIZED_GIT_CLONE=False export OGIT_TRASH_DIR=/tmp/yocto-autobuilder/git/trash export OGIT_TRASH_CRON_TIME="0 0 * * *" export OGIT_TRASH_NICE_LEVEL="19" +HOST_ADDR=$(hostname -I) ########################## # @@ -153,6 +154,10 @@ if [ -n "${config_check:+x}" ]; then sed -i "s//$username/g" ${PWD}/yocto-worker/buildbot.tac sed -i "s//$password/g" ${PWD}/yocto-worker/buildbot.tac echo "" + echo " Updating worker-init script used for google cloud building. " + sed -i "s//$HOST_ADDR/" ${PWD}/bin/worker-init + sed -i "s//$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