From 9d9f0add8383c86c0fe9c91c4b74568890965b44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Tue, 16 Oct 2018 15:35:47 +0200 Subject: [PATCH] Drop the memory saving code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It actually still does not work if there is inheritance between variants. Signed-off-by: Lubomír Sedlář --- pungi/phases/gather/methods/method_deps.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/pungi/phases/gather/methods/method_deps.py b/pungi/phases/gather/methods/method_deps.py index 083992ef..44fb60b2 100644 --- a/pungi/phases/gather/methods/method_deps.py +++ b/pungi/phases/gather/methods/method_deps.py @@ -145,9 +145,6 @@ def write_pungi_config(compose, arch, variant, packages, groups, filter_packages package_whitelist.add( '{0.name}-{1}:{0.version}-{0.release}'.format(rpm_obj, rpm_obj.epoch or 0)) - # Drop the packageset to hopefully save some memory - variant.pkgset.rpms_by_arch[arch] = None - pungi_wrapper.write_kickstart( ks_path=pungi_cfg, repos=repos, groups=groups, packages=packages_str, exclude_packages=filter_packages_str,