|
|
|
@ -1504,6 +1504,12 @@ the system") + " (yes/no)"
|
|
|
|
|
targetDistr.installFrom(sourceDistr)
|
|
|
|
|
self.printByResult(True)
|
|
|
|
|
|
|
|
|
|
# copy clt files from current system
|
|
|
|
|
self.printMessageForTest(_("Coping clt templates to new system"))
|
|
|
|
|
cltCpy = cltCopy(target=targetDistr.getDirectory())
|
|
|
|
|
for directory in self.clVars.Get('cl_template_clt_path'):
|
|
|
|
|
cltCpy.performCopy(directory)
|
|
|
|
|
self.printByResult(True)
|
|
|
|
|
# join templates
|
|
|
|
|
self.printMessageForTest(_("Updating config"))
|
|
|
|
|
self.applyTemplates(targetDistr.getDirectory())
|
|
|
|
@ -1526,11 +1532,6 @@ the system") + " (yes/no)"
|
|
|
|
|
self.prepareBoot(targetDistr)
|
|
|
|
|
self.printByResult(True)
|
|
|
|
|
# optimize initrd
|
|
|
|
|
self.printMessageForTest(_("Coping clt templates to new system"))
|
|
|
|
|
cltCpy = cltCopy(target=targetDistr.getDirectory())
|
|
|
|
|
for directory in self.clVars.Get('cl_template_clt_path'):
|
|
|
|
|
cltCpy.performCopy(directory)
|
|
|
|
|
self.printByResult(True)
|
|
|
|
|
self.printMessageForTest(_("Creating new initrd file"))
|
|
|
|
|
self.printByResult(self.cleanInitrd())
|
|
|
|
|
else:
|
|
|
|
|