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 untrusted user: label
GPG Key ID: B37E62D143879B36

View File

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