"tmpdir": '/var/tmp/mic',
"cachedir": '/var/tmp/mic/cache',
"outdir": './mic-output',
+ "destdir": None,
"arch": None, # None means auto-detect
"pkgmgr": "auto",
"name": "output",
self.create['name_prefix'],
self.create['name_suffix'])
+ self.create['destdir'] = self.create['outdir']
if self.create['release'] is not None:
+ self.create['destdir'] = "%s/%s/images/%s/" % (self.create['outdir'],
+ self.create['release'],
+ self.create['name'])
self.create['name'] = self.create['release'] + '_' + self.create['name']
msger.info("Retrieving repo metadata:")
if createopts:
# Mapping table for variables that have different names.
optmap = {"pkgmgr" : "pkgmgr_name",
- "outdir" : "destdir",
"arch" : "target_arch",
"local_pkgs_path" : "_local_pkgs_path",
"copy_kernel" : "_need_copy_kernel",
configmgr._ksconf = ksconf
- # Called After setting the configmgr._ksconf as the creatoropts['name'] is reset there.
- if creatoropts['release'] is not None:
- creatoropts['outdir'] = "%s/%s/images/%s/" % (creatoropts['outdir'], creatoropts['release'], creatoropts['name'])
-
# try to find the pkgmgr
pkgmgr = None
backends = pluginmgr.get_plugins('backend')
configmgr._ksconf = ksconf
- # Called After setting the configmgr._ksconf as the creatoropts['name'] is reset there.
- if creatoropts['release'] is not None:
- creatoropts['outdir'] = "%s/%s/images/%s/" % (creatoropts['outdir'], creatoropts['release'], creatoropts['name'])
-
# try to find the pkgmgr
pkgmgr = None
backends = pluginmgr.get_plugins('backend')
configmgr._ksconf = ksconf
- # Called After setting the configmgr._ksconf as the creatoropts['name'] is reset there.
- if creatoropts['release'] is not None:
- creatoropts['outdir'] = "%s/%s/images/%s/" % (creatoropts['outdir'], creatoropts['release'], creatoropts['name'])
-
# try to find the pkgmgr
pkgmgr = None
backends = pluginmgr.get_plugins('backend')
configmgr._ksconf = ksconf
- # Called After setting the configmgr._ksconf
- # as the creatoropts['name'] is reset there.
- if creatoropts['release'] is not None:
- creatoropts['outdir'] = "%s/%s/images/%s/" % (creatoropts['outdir'],
- creatoropts['release'],
- creatoropts['name'])
# try to find the pkgmgr
pkgmgr = None
backends = pluginmgr.get_plugins('backend')
configmgr._ksconf = ksconf
- # Called After setting the configmgr._ksconf as the creatoropts['name'] is reset there.
- if creatoropts['release'] is not None:
- creatoropts['outdir'] = "%s/%s/images/%s/" % (creatoropts['outdir'], creatoropts['release'], creatoropts['name'])
-
# try to find the pkgmgr
pkgmgr = None
backends = pluginmgr.get_plugins('backend')