Fix cleanBinary. Add write permissions.

develop
Mike Hiretsky 13 years ago
parent 9e8b4536c6
commit 44161bbb91

@ -1632,6 +1632,7 @@ class cl_assemble(color_print):
self.clVars.Get('cl_assemble_pkgdir'))
dbPkg = pathJoin(chrootPath, 'var/db/pkg')
try:
if not path.exists(dbPkg):
os.makedirs(dbPkg)
if not path.exists(pkgDir):
@ -1677,6 +1678,8 @@ class cl_assemble(color_print):
self.regenPackages(chrootPath,pkgDir[len(chrootPath):])
else:
self.printByResult(skip=True)
except OSError,e:
raise AssembleError(str(e))
return True
def createMaskList(self,chrootdir,filename):

Loading…
Cancel
Save