|
|
@ -244,6 +244,13 @@ class cl_builder(color_print):
|
|
|
|
distrPath)
|
|
|
|
distrPath)
|
|
|
|
self.printByResult(True);
|
|
|
|
self.printByResult(True);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def updateMan(self, distrPath):
|
|
|
|
|
|
|
|
"""Execute update man"""
|
|
|
|
|
|
|
|
self.printMessageForTest(_("Execute '%s'")%"mandb")
|
|
|
|
|
|
|
|
# run mandb
|
|
|
|
|
|
|
|
self.runChroot(distrPath,'/usr/bin/mandb')
|
|
|
|
|
|
|
|
self.printByResult(True);
|
|
|
|
|
|
|
|
|
|
|
|
def updatePortage(self,builderPath):
|
|
|
|
def updatePortage(self,builderPath):
|
|
|
|
"""Change branch to master and update portage"""
|
|
|
|
"""Change branch to master and update portage"""
|
|
|
|
if self.assembleIso:
|
|
|
|
if self.assembleIso:
|
|
|
@ -278,6 +285,7 @@ class cl_builder(color_print):
|
|
|
|
mp = self.clVars.Get('cl_builder_path')
|
|
|
|
mp = self.clVars.Get('cl_builder_path')
|
|
|
|
self.dispatchConf(mp)
|
|
|
|
self.dispatchConf(mp)
|
|
|
|
self.updatePortage(mp)
|
|
|
|
self.updatePortage(mp)
|
|
|
|
|
|
|
|
self.updateMan(mp)
|
|
|
|
|
|
|
|
|
|
|
|
# unmount all from source distribute
|
|
|
|
# unmount all from source distribute
|
|
|
|
mps = filter(lambda x:x!=mp,map(lambda x:x[1],childMounts(mp)))
|
|
|
|
mps = filter(lambda x:x!=mp,map(lambda x:x[1],childMounts(mp)))
|
|
|
|