Re: [PATCH rhel6-branch master 2/2] If only @Core is installed, add --nobase to the anaconda-ks.cfg. (#593548).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ack.

On Fri, 11 Jun 2010, Chris Lumens wrote:

---
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)



--
David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux