[rhel6-branch] Make sure authconfig and firewalld packages are installed. (#1161682)
by Samantha N. Bueno
Unless a user specifies --nocore.
Based on a patch by Masahiro Matsuya (mmatsuya(a)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
9 years, 1 month