Modified the README-Guide.md. See thread "[yocto-autobuilder-helper] Replaced hardcoded BASE_HOMEDIR directory" -- Marco
From 30ed13445a01a2af759791cb39526437b43906c0 Mon Sep 17 00:00:00 2001 From: Marco Cavallini <m.cavall...@koansoftware.com> Date: Mon, 21 Oct 2019 18:38:22 +0200 Subject: [PATCH] README-Guide.md: Updated the Stand-alone Installation details according to the yocto-autobuilder-helper patch 5ba152e55688b27c745a787a5ca968bb058ebf25
Now is no longer needed to manually modify config.json. Signed-off-by: Marco Cavallini <m.cavall...@koansoftware.com> --- README-Guide.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README-Guide.md b/README-Guide.md index 70f1433..e8f74a1 100644 --- a/README-Guide.md +++ b/README-Guide.md @@ -53,8 +53,7 @@ Next, if you do not want to edit the original `yocto-autobuilder-helper/config.j Here are some suggestions for the sake of : - 1. In the original `config.json`, find all instances of whatever `BASE_HOMEDIR` was set to, for example `/home/pokybuild3`. Copy those variables to your `config-local.json` replace `/home/pokybuild3` with `${BASE_HOMEDIR}`. These will be variables like `BUILDPERF_STATEDIR` and `EXTRAPLAINCMDS`. -Set `BASE_HOMEDIR` should be your build user's home directory. (There are shell scripts where this is assumed.) + 1. Customization can be done by copying the variable to be overriden from the original `config.json` to your `config-local.json`, for example like `BUILDPERF_STATEDIR` and `EXTRAPLAINCMDS`. _NOTE:_ In this document and by default `BASE_HOMEDIR` is set as pokybuild3 and should be the Autobuilder2 user's home directory. 2. Add `BASE_SHAREDDIR` and `BASE_PUBLISHDIR` such that they are subtrees of your `BASE_HOMEDIR`, e.g., `${BASE_HOMEDIR}/srv/autobuilder.yoursite.com`. 3. Change your `WEBPUBLISH_URL` to match your `config.py` definition for `buildbotURL`. 4. In order for this to work, you must export `ABHELPER_JSON="config.json config-local.json"` into the environment of the controller and janitor services (the example service scripts included below already have this). @@ -281,4 +280,4 @@ Group=nogroup [Install] WantedBy=multi-user.target -``` \ No newline at end of file +``` -- 2.7.4
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto