Go back to using stock 'clean' command. It now takes care of all mount points

This commit is contained in:
Jesse Keating 2007-12-11 16:59:23 -05:00
parent 41737dbdd4
commit c7e0c2880d

View file

@ -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):