[master/f21] Revert productName repo name change (#1128474)
Brian C. Lane
bcl at redhat.com
Mon Sep 8 23:29:33 UTC 2014
The products want the ability to make Product specific netinst isos.
Personally, I think this is the wrong approach, but in order to allow them the
flexibility I'll revert my .buildstamp Product patch.
This means that when making a compose the composer has to be sure they include
a package installing a repo to /etc/yum.repos.d/ that has an id matching the
lower-case version of the product name (eg. fedora-server or
fedora-workstation). Without this the closest mirror option will not work
because anaconda doesn't know the name of the repo to use.
pyanaconda/packaging/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/packaging/__init__.py b/pyanaconda/packaging/__init__.py
index b657a27..18d6297 100644
@@ -639,7 +639,7 @@ class ArchivePayload(ImagePayload):
""" A PackagePayload installs a set of packages onto the target system. """
- DEFAULT_REPOS = [productName.split('-').lower(), "rawhide"]
+ DEFAULT_REPOS = [productName.lower(), "rawhide"]
def __init__(self, data):
if self.__class__ is PackagePayload:
More information about the anaconda-patches