Gentoo Archives: gentoo-commits

From: Magnus Granberg <zorry@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/tinderbox-cluster:master commit in: buildbot_gentoo_ci/config/
Date: Sat, 27 Feb 2021 22:46:49
Message-Id: 1614203649.8fb10ec717e99e1fd4e110112319514efeb724c8.zorry@gentoo
1 commit: 8fb10ec717e99e1fd4e110112319514efeb724c8
2 Author: Magnus Granberg <zorry <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 24 21:54:09 2021 +0000
4 Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 24 21:54:09 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/tinderbox-cluster.git/commit/?id=8fb10ec7
7
8 Remove the symlink for make.profile before we remove the portage dir
9
10 Signed-off-by: Magnus Granberg <zorry <AT> gentoo.org>
11
12 buildbot_gentoo_ci/config/buildfactorys.py | 6 +++++-
13 1 file changed, 5 insertions(+), 1 deletion(-)
14
15 diff --git a/buildbot_gentoo_ci/config/buildfactorys.py b/buildbot_gentoo_ci/config/buildfactorys.py
16 index a6f2183..ac8bac1 100644
17 --- a/buildbot_gentoo_ci/config/buildfactorys.py
18 +++ b/buildbot_gentoo_ci/config/buildfactorys.py
19 @@ -92,7 +92,11 @@ def run_build_request():
20 # set needed Propertys
21 f.addStep(builders.SetupPropertys())
22 # Clean and add new /etc/portage
23 - #FIXME: Is don't like symlinks
24 + #NOTE: remove the symlink befor the dir
25 + f.addStep(buildbot_steps.ShellCommandNewStyle(
26 + command=['rm', 'make.profile'],
27 + workdir='/etc/portage/'
28 + ))
29 f.addStep(buildbot_steps.RemoveDirectory(dir="portage",
30 workdir='/etc/'))
31 f.addStep(buildbot_steps.MakeDirectory(dir="portage",