Discard clt templates from prepare image

master
Mike Hiretsky 11 years ago
parent cc5e5dea88
commit 3229268d1f

@ -127,7 +127,7 @@ class cl_builder(color_print):
#self.clVars.Set("cl_root_path","/", True)
self.clVars.Set("cl_action","squash", True)
self.clVars.Set("cl_chroot_path",directory, True)
self.clTempl = template(self.clVars)
self.clTempl = template(self.clVars,cltObj=False)
dirsFiles = self.clTempl.applyTemplates()
self.createDevNodes(directory)
self.clTempl.closeFiles()
@ -144,7 +144,7 @@ class cl_builder(color_print):
self.clVars.Get('cl_builder_squash_path'))
self.clVars.Set("cl_chroot_path",chrootPath, True)
self.clVars.Set("cl_root_path","..", True)
self.clTempl = template(self.clVars)
self.clTempl = template(self.clVars,cltObj=False)
dirsFiles = self.clTempl.applyTemplates()
self.clTempl.closeFiles()
if self.clTempl.getError():

Loading…
Cancel
Save