All of lore.kernel.org
 help / color / mirror / Atom feed
* [yocto-autobuilder-helper] Replaced hardcoded BASE_HOMEDIR directory
@ 2019-10-18 16:55 Marco
  2019-10-18 20:29 ` akuster808
  0 siblings, 1 reply; 2+ messages in thread
From: Marco @ 2019-10-18 16:55 UTC (permalink / raw)
  To: Yocto Project Discussion, rpurdie

[-- Attachment #1: Type: text/plain, Size: 111 bytes --]

Replaced hardcoded BASE_HOMEDIR directory.
Please apologize the missing send-email on my machine.
--
Marco

[-- Attachment #2: 0001-config.json-Replaced-occurrencies-of-home-pokybuild-.patch --]
[-- Type: text/x-patch, Size: 1847 bytes --]

From 90f9ec8460e7054e67e74f7d0d54179e15c1c9bd Mon Sep 17 00:00:00 2001
From: Marco Cavallini <m.cavallini@koansoftware.com>
Date: Fri, 18 Oct 2019 18:40:43 +0200
Subject: [PATCH] config.json: Replaced occurrencies of /home/pokybuild with
 ${BASE_HOMEDIR}

Signed-off-by: Marco Cavallini <m.cavallini@koansoftware.com>
---
 config.json | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/config.json b/config.json
index 88795b7..1493ab5 100644
--- a/config.json
+++ b/config.json
@@ -16,8 +16,8 @@
     "WEBPUBLISH_DIR" : "${BASE_SHAREDDIR}/",
     "WEBPUBLISH_URL" : "https://autobuilder.yocto.io/",
 
-    "BUILDPERF_STATEDIR" : "/home/pokybuild/buildperf",
-    "BUILDPERF_RESULTSDIR" : "/home/pokybuild/buildperf-results",
+    "BUILDPERF_STATEDIR" : "${BASE_HOMEDIR}/buildperf",
+    "BUILDPERF_RESULTSDIR" : "${BASE_HOMEDIR}/buildperf-results",
 
     "defaults" : {
         "NEEDREPOS" : ["poky"],
@@ -141,7 +141,7 @@
             "SSTATEDIR_RELEASE" : ["SSTATE_DIR ?= '${HELPERBUILDDIR}/sstate'"],
             "PACKAGE_CLASSES" : "package_rpm",
             "EXTRAPLAINCMDS" : [
-                "${SCRIPTSDIR}/build-perf-test-wrapper -r ${BUILDPERF_RESULTSDIR} -E yocto-perf@yoctoproject.org -d ${BUILDPERF_STATEDIR}/downloads -w /home/pokybuild/build-perf-test -p ${HELPERRESULTSDIR}/${HELPERTARGET} -R ${HELPERREPONAME} -b ${HELPERBRANCHNAME} --push git@push.yoctoproject.org:yocto-buildstats"
+                "${SCRIPTSDIR}/build-perf-test-wrapper -r ${BUILDPERF_RESULTSDIR} -E yocto-perf@yoctoproject.org -d ${BUILDPERF_STATEDIR}/downloads -w ${BASE_HOMEDIR}/build-perf-test -p ${HELPERRESULTSDIR}/${HELPERTARGET} -R ${HELPERREPONAME} -b ${HELPERBRANCHNAME} --push git@push.yoctoproject.org:yocto-buildstats"
             ],
             "extravars" : [
                 "BB_NUMBER_THREADS = '24'",
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [yocto-autobuilder-helper] Replaced hardcoded BASE_HOMEDIR directory
  2019-10-18 16:55 [yocto-autobuilder-helper] Replaced hardcoded BASE_HOMEDIR directory Marco
@ 2019-10-18 20:29 ` akuster808
  0 siblings, 0 replies; 2+ messages in thread
From: akuster808 @ 2019-10-18 20:29 UTC (permalink / raw)
  To: Marco, Yocto Project Discussion, rpurdie

[-- Attachment #1: Type: text/plain, Size: 282 bytes --]



On 10/18/19 9:55 AM, Marco wrote:
> Replaced hardcoded BASE_HOMEDIR directory.
> Please apologize the missing send-email on my machine.
Thanks Marco,

Would the be any need to add something to the README regarding the use
of this variable?

- armin
> --
> Marco
>


[-- Attachment #2: Type: text/html, Size: 977 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-18 20:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-18 16:55 [yocto-autobuilder-helper] Replaced hardcoded BASE_HOMEDIR directory Marco
2019-10-18 20:29 ` akuster808

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.