diff options
author | Magnus Granberg <zorry@gentoo.org> | 2021-02-24 22:54:09 +0100 |
---|---|---|
committer | Magnus Granberg <zorry@gentoo.org> | 2021-02-24 22:54:09 +0100 |
commit | 8fb10ec717e99e1fd4e110112319514efeb724c8 (patch) | |
tree | b52822984a91566d6837bd3234e551e1ad82c54d | |
parent | Don't use binary in the match and fix a bug in the match logic (diff) | |
download | tinderbox-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.py | 6 |
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", |