--- yuminstall.py | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/yuminstall.py b/yuminstall.py index 68bf681..4c74397 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -1954,8 +1954,6 @@ debuglevel=10 if len(self.ayum.tsInfo.instgroups) == 0 and len(txmbrNames) == 0: return - f.write("\n%packages\n") - for grp in filter(lambda x: x.selected, self.ayum.comps.groups): groups.append(grp.groupid) @@ -1968,6 +1966,11 @@ debuglevel=10 for pkg in filter(lambda x: x in txmbrNames, optionals): installed.append(pkg) + if len(groups) == 1 and groups[0].lower() == "core": + f.write("\n%packages --nobase\n") + else: + f.write("\n%packages\n") + for grp in groups: f.write("@%s\n" % grp) -- 1.7.0.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list