[buildbot] phase1: move shared dl to same folder as shared-workdir
LEDE Commits
lede-commits at lists.infradead.org
Mon May 15 08:39:31 PDT 2023
ynezz pushed a commit to buildbot.git, branch master:
https://git.openwrt.org/de60764f200045fd6483297fc0701fa0d3d0e3c0
commit de60764f200045fd6483297fc0701fa0d3d0e3c0
Author: Thibaut VARÈNE <hacks at slashdirt.org>
AuthorDate: Tue Oct 25 20:41:21 2022 +0200
phase1: move shared dl to same folder as shared-workdir
The previous command moved it to $HOME/dl, which could pollute the user's
home folder during test runs. This brings the "shared dl" folder in line
with the shared workdir folder, all within buildbot folder hierarchy.
Signed-off-by: Thibaut VARÈNE <hacks at slashdirt.org>
---
phase1/master.cfg | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/phase1/master.cfg b/phase1/master.cfg
index 424fc9f..86d858d 100644
--- a/phase1/master.cfg
+++ b/phase1/master.cfg
@@ -774,7 +774,8 @@ for target in targets:
name = "dldir",
description = "Preparing dl/",
descriptionDone = "dl/ prepared",
- command = "mkdir -p $HOME/dl && rm -rf ./dl && ln -sf $HOME/dl ./dl",
+ command = 'mkdir -p ../dl && rm -rf "build/dl" && ln -s ../../dl "build/dl"',
+ workdir = Property("builddir"),
logEnviron = False,
want_stdout = False
))
More information about the lede-commits
mailing list