aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Granberg <zorry@gentoo.org>2021-02-24 22:54:09 +0100
committerMagnus Granberg <zorry@gentoo.org>2021-02-24 22:54:09 +0100
commit8fb10ec717e99e1fd4e110112319514efeb724c8 (patch)
treeb52822984a91566d6837bd3234e551e1ad82c54d
parentDon't use binary in the match and fix a bug in the match logic (diff)
downloadtinderbox-cluster-8fb10ec717e99e1fd4e110112319514efeb724c8.tar.gz
tinderbox-cluster-8fb10ec717e99e1fd4e110112319514efeb724c8.tar.bz2
tinderbox-cluster-8fb10ec717e99e1fd4e110112319514efeb724c8.zip
Remove the symlink for make.profile before we remove the portage dir
Signed-off-by: Magnus Granberg <zorry@gentoo.org>
-rw-r--r--buildbot_gentoo_ci/config/buildfactorys.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/buildbot_gentoo_ci/config/buildfactorys.py b/buildbot_gentoo_ci/config/buildfactorys.py
index a6f2183..ac8bac1 100644
--- a/buildbot_gentoo_ci/config/buildfactorys.py
+++ b/buildbot_gentoo_ci/config/buildfactorys.py
@@ -92,7 +92,11 @@ def run_build_request():
# set needed Propertys
f.addStep(builders.SetupPropertys())
# Clean and add new /etc/portage
- #FIXME: Is don't like symlinks
+ #NOTE: remove the symlink befor the dir
+ f.addStep(buildbot_steps.ShellCommandNewStyle(
+ command=['rm', 'make.profile'],
+ workdir='/etc/portage/'
+ ))
f.addStep(buildbot_steps.RemoveDirectory(dir="portage",
workdir='/etc/'))
f.addStep(buildbot_steps.MakeDirectory(dir="portage",