@NAME@ can be replaced with acutal image name
and a quick solution for the tarball content
:loops, list of tuple (mp, label, name, size, fstype)
"""
+ # quick dirty fix: odin decline any extra file in tarball
+ # FIXME: better solution to save this file outside tarball
+ return None
+
if not loops:
return None
"""
BaseImageCreator.__init__(self, creatoropts, pkgmgr)
+
self.taring_to = taring_to
+ if taring_to and '@NAME@' in taring_to:
+ self.taring_to = taring_to.replace('@NAME@', self.name)
self.__fslabel = None
self.fslabel = self.name