[PATCH rhel6-branch 1/4] Allow skipping installation of the core group, if asked for in kickstart.
Chris Lumens
clumens at redhat.com
Mon Aug 4 15:12:30 UTC 2014
Should the user do this, a message gets logged so we will know what's going on
when we get bug reports with stuff that ought to be installed missing.
Related: rhbz#1123481
---
kickstart.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/kickstart.py b/kickstart.py
index 51c5bc7..dda681c 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -1585,7 +1585,10 @@ def selectPackages(anaconda):
elif rc == 1:
ignoreAll = True
- ksdata.packages.groupList.insert(0, Group("Core"))
+ if ksdata.packages.nocore:
+ log.warning("skipping core group due to %%packages --nocore; system may not be complete")
+ else:
+ ksdata.packages.groupList.insert(0, Group("Core"))
if ksdata.packages.addBase:
# Only add @base if it's not already in the group list. If the
--
1.9.3
More information about the anaconda-patches
mailing list