projects
/
platform
/
upstream
/
mic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0144643
)
roll back to original naming for release
author
Gui Chen
<gui.chen@intel.com>
Tue, 5 Feb 2013 11:10:37 +0000
(19:10 +0800)
committer
Gui Chen
<gui.chen@intel.com>
Tue, 5 Feb 2013 12:52:41 +0000
(20:52 +0800)
Signed-off-by: Gui Chen <gui.chen@intel.com>
mic/imager/baseimager.py
patch
|
blob
|
history
diff --git
a/mic/imager/baseimager.py
b/mic/imager/baseimager.py
index
b490401
..
57c5f8e
100644
(file)
--- 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)