From: Artem Bityutskiy Date: Thu, 8 Aug 2013 12:48:01 +0000 (+0300) Subject: raw.py: print a message when compressing the image X-Git-Tag: 0.21~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3253e825f3943f1f607a6fca1c144467e5ca0f97;p=tools%2Fmic.git raw.py: print a message when compressing the image Image compression may take very long time. The last message on the screen before compression starts is "Generating map file(s)", and then a very long delay, so that it looks like it takes so long to generate map files, but it is not, it is actually the compression which is slow. Let's inform users that we start compressing the image to make it obvious what causes the delay. Change-Id: Ie547451519aae7be5173c05bcfab1aca6c165148 Signed-off-by: Artem Bityutskiy --- diff --git a/mic/imager/raw.py b/mic/imager/raw.py index 838191a..d10d59a 100644 --- a/mic/imager/raw.py +++ b/mic/imager/raw.py @@ -380,6 +380,7 @@ class RawImageCreator(BaseImageCreator): for imgfile in os.listdir(self.__imgdir): if imgfile.endswith('.raw') or imgfile.endswith('bin'): imgpath = os.path.join(self.__imgdir, imgfile) + msger.info("Compressing image %s" % imgfile) misc.compressing(imgpath, self.compress_image) if self.pack_to: