[PATCH] Remove enablement of whiteout/blackout plugins, and the requires on anaconda-yum-plugins.
Bill Nottingham
notting at redhat.com
Tue Dec 10 22:03:20 UTC 2013
1) blackout is for removing packages on upgrades. Upgrades no longer run
through anaconda.
2) The metadata introduced to service these plugins has
not undergone a single substantive, intentional update since Fedora 10.
Therefore, I am left to assume that their functionality is vestigial and
should be removed. They'd be obsolete in a DNF world anyway.
---
anaconda.spec.in | 1 -
pyanaconda/packaging/yumpayload.py | 2 +-
scripts/anaconda-yum | 2 +-
3 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/anaconda.spec.in b/anaconda.spec.in
index 6df5b75..6e31d58 100755
--- a/anaconda.spec.in
+++ b/anaconda.spec.in
@@ -124,7 +124,6 @@ Requires: isomd5sum >= %{isomd5sum}
Requires: yum-utils >= %{yumutilsver}
Requires: NetworkManager >= %{nmver}
Requires: dhclient
-Requires: anaconda-yum-plugins
Requires: libselinux-python >= %{libselinuxver}
Requires: kbd
Requires: chrony
diff --git a/pyanaconda/packaging/yumpayload.py b/pyanaconda/packaging/yumpayload.py
index a758ce5..cbd9352 100644
--- a/pyanaconda/packaging/yumpayload.py
+++ b/pyanaconda/packaging/yumpayload.py
@@ -84,7 +84,7 @@ from pyanaconda.localization import langcode_matches_locale
from pykickstart.constants import GROUP_ALL, GROUP_DEFAULT, KS_MISSING_IGNORE
-YUM_PLUGINS = ["blacklist", "whiteout", "fastestmirror", "langpacks"]
+YUM_PLUGINS = ["fastestmirror", "langpacks"]
DEFAULT_REPOS = [productName.lower(), "rawhide"]
BASE_REPO_NAMES = [BASE_REPO_NAME] + DEFAULT_REPOS
diff --git a/scripts/anaconda-yum b/scripts/anaconda-yum
index cf98f70..95ae58d 100755
--- a/scripts/anaconda-yum
+++ b/scripts/anaconda-yum
@@ -27,7 +27,7 @@ import rpmUtils
import yum
from urlgrabber.grabber import URLGrabError
-YUM_PLUGINS = ["blacklist", "whiteout", "fastestmirror", "langpacks"]
+YUM_PLUGINS = ["fastestmirror", "langpacks"]
def setup_parser():
""" Setup argparse with supported arguments
--
1.8.4.2
More information about the anaconda-patches
mailing list