Since clobber is crossing two file systems in this case the worker can delete the files faster than it can move them
Also fixes a occasional race that results in build failures Signed-off-by: Steve Sakoman <[email protected]> --- builders.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builders.py b/builders.py index 13bfe18..778989b 100644 --- a/builders.py +++ b/builders.py @@ -377,9 +377,9 @@ def create_parent_builder_factory(buildername, waitname): factory.addStep(steps.ShellCommand( - command=[clob, util.Interpolate("{}/%(prop:buildername)s-%(prop:buildnumber)s".format(config.sharedrepodir))], + command=["rm", "-fr", util.Interpolate("{}/%(prop:buildername)s-%(prop:buildnumber)s".format(config.sharedrepodir))], haltOnFailure=True, - name="Clobber shared repo dir")) + name="Remove shared repo dir")) return factory -- 2.17.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#49952): https://lists.yoctoproject.org/g/yocto/message/49952 Mute This Topic: https://lists.yoctoproject.org/mt/75504974/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
