From 676fb2399129dff69fa0778108ff517880b20059 Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Wed, 2 Feb 2011 15:39:54 +0300 Subject: [PATCH] Add update layman for iso assembling before pack. --- pym/cl_builder.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pym/cl_builder.py b/pym/cl_builder.py index 8607ebd..a266486 100644 --- a/pym/cl_builder.py +++ b/pym/cl_builder.py @@ -225,6 +225,12 @@ class cl_builder(color_print): self.printByResult(True) distrPath = distr.convertToDirectory().getDirectory() self.cleanNeedlessKernelData(distrPath) + + if self.assembleIso: + self.printMessageForTest(_("Updating calculate overlay")) + updateLayman = self.runChroot(distrPath,"layman -s calculate") + self.printByResult(updateLayman.success()) + self.applyTemplatesForSquash(distrPath) # change make.profile builderPath = self.clVars.Get('cl_builder_path')