tweaking treeinfo in kickstart shouldn't matter

This commit is contained in:
Louis Abel 2022-07-25 03:12:26 -07:00
parent 03111ba623
commit 56af2ade35
Signed by: label
GPG Key ID: B37E62D143879B36
1 changed files with 18 additions and 18 deletions

View File

@ -1286,25 +1286,25 @@ class RepoSync:
self.log.error(Color.FAIL + 'There was an error writing os treeinfo.') self.log.error(Color.FAIL + 'There was an error writing os treeinfo.')
self.log.error(e) self.log.error(e)
if self.fullrun: #if self.fullrun:
ksimage = os.path.join(sync_root, v, a, 'kickstart') ksimage = os.path.join(sync_root, v, a, 'kickstart')
ksdata = { ksdata = {
'arch': a, 'arch': a,
'variant': v, 'variant': v,
'variant_path': ksimage, 'variant_path': ksimage,
'checksum': self.checksum, 'checksum': self.checksum,
'distname': self.distname, 'distname': self.distname,
'fullname': self.fullname, 'fullname': self.fullname,
'shortname': self.shortname, 'shortname': self.shortname,
'release': self.fullversion, 'release': self.fullversion,
'timestamp': self.timestamp, 'timestamp': self.timestamp,
} }
try: try:
Shared.treeinfo_modify_write(ksdata, imagemap, self.log) Shared.treeinfo_modify_write(ksdata, imagemap, self.log)
except Exception as e: except Exception as e:
self.log.error(Color.FAIL + 'There was an error writing kickstart treeinfo.') self.log.error(Color.FAIL + 'There was an error writing kickstart treeinfo.')
self.log.error(e) self.log.error(e)
def run_compose_closeout(self): def run_compose_closeout(self):
""" """