From 56af2ade358131d9eb76667b830ed74b75230460 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Mon, 25 Jul 2022 03:12:26 -0700 Subject: [PATCH] tweaking treeinfo in kickstart shouldn't matter --- iso/empanadas/empanadas/util/dnf_utils.py | 36 +++++++++++------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/iso/empanadas/empanadas/util/dnf_utils.py b/iso/empanadas/empanadas/util/dnf_utils.py index 068c3ef..17e9301 100644 --- a/iso/empanadas/empanadas/util/dnf_utils.py +++ b/iso/empanadas/empanadas/util/dnf_utils.py @@ -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): """