From 5cf64ef8772b77651207e92434cb8789b584b634 Mon Sep 17 00:00:00 2001 From: Gui Chen Date: Tue, 5 Feb 2013 19:10:37 +0800 Subject: [PATCH] roll back to original naming for release Signed-off-by: Gui Chen --- mic/imager/baseimager.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mic/imager/baseimager.py b/mic/imager/baseimager.py index b490401..57c5f8e 100644 --- a/mic/imager/baseimager.py +++ b/mic/imager/baseimager.py @@ -99,6 +99,9 @@ class BaseImageCreator(object): self.destdir = os.path.abspath(os.path.expanduser(self.destdir)) + if 'release' in createopts and createopts['release']: + self.name += '-' + createopts['release'] + if self.pack_to: if '@NAME@' in self.pack_to: self.pack_to = self.pack_to.replace('@NAME@', self.name) -- 2.7.4