Go back to using stock 'clean' command. It now takes care of all mount points
This commit is contained in:
parent
41737dbdd4
commit
c7e0c2880d
1 changed files with 2 additions and 4 deletions
|
|
@ -501,13 +501,11 @@ class BuildRoot(object):
|
|||
|
||||
def scrub(self):
|
||||
"Non-mock implementation of clean"
|
||||
rootdir = self.rootdir()
|
||||
umount_all(rootdir)
|
||||
safe_rmtree(rootdir)
|
||||
raise koji.FunctionDeprecated, "no longer needed and deprecated. use clean()"
|
||||
|
||||
def clean(self):
|
||||
"""Remove the buildroot and associated mock config"""
|
||||
#self.mock(['clean'])
|
||||
self.mock(['--clean'])
|
||||
raise koji.GenericError, "dangerous and deprecated. use scrub()"
|
||||
|
||||
def resultdir(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue