[rhel6-branch] Make sure authconfig and firewalld packages are installed. (#1161682)

Samantha N. Bueno sbueno+anaconda at redhat.com
Mon Apr 6 21:16:27 UTC 2015


Unless a user specifies --nocore.

Based on a patch by Masahiro Matsuya (mmatsuya at redhat.com)

Resolves: rhbz#1161682
---
 yuminstall.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/yuminstall.py b/yuminstall.py
index da35677..ba9d048 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -1600,6 +1600,10 @@ debuglevel=6
                                      anaconda.id.ksdata.services.enabled) or \
            anaconda.id.storage.services or anaconda.id.network.hasActiveIPoIBDevice():
             self.selectPackage("chkconfig")
+        else:
+            if not anaconda.id.ksdata.packages.nocore:
+                for pkg in ['authconfig', 'system-config-firewall-base']:
+                    self.selectPackage(pkg)
 
     def doPostSelection(self, anaconda):
         # Only solve dependencies on the way through the installer, not the way back.
-- 
1.8.3.1



More information about the anaconda-patches mailing list