[PATCH] Allow skipping installation of the core group, if asked for in kickstart.
Chris Lumens
clumens at redhat.com
Thu Mar 20 15:16:42 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.
---
anaconda.spec.in | 2 +-
pyanaconda/packaging/yumpayload.py | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/anaconda.spec.in b/anaconda.spec.in
index 593447b..107306d 100755
--- a/anaconda.spec.in
+++ b/anaconda.spec.in
@@ -21,7 +21,7 @@ Source0: %{name}-%{version}.tar.bz2
# Also update in AM_GNU_GETTEXT_VERSION in configure.ac
%define gettextver 0.18.3
%define intltoolver 0.31.2-3
-%define pykickstartver 1.99.51
+%define pykickstartver 1.99.52
%define yumver 3.4.3-91
%define dnfver 0.4.18
%define partedver 1.8.1
diff --git a/pyanaconda/packaging/yumpayload.py b/pyanaconda/packaging/yumpayload.py
index b1955b6..b74d406 100644
--- a/pyanaconda/packaging/yumpayload.py
+++ b/pyanaconda/packaging/yumpayload.py
@@ -1207,7 +1207,10 @@ reposdir=%s
This follows the same ordering/pattern as kickstart.py.
"""
- self._selectYumGroup("core")
+ if self.data.packages.nocore:
+ log.info("skipping core group due to %%packages --nocore; system may not be complete")
+ else:
+ self._selectYumGroup("core")
env = None
--
1.8.3.1
More information about the anaconda-patches
mailing list