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 --- a/pyanaconda/packaging/__init__.py +++ b/pyanaconda/packaging/__init__.py @@ -639,7 +639,7 @@ class ArchivePayload(ImagePayload): class PackagePayload(Payload): """ A PackagePayload installs a set of packages onto the target system. """
- DEFAULT_REPOS = [productName.split('-')[0].lower(), "rawhide"] + DEFAULT_REPOS = [productName.lower(), "rawhide"]
def __init__(self, data): if self.__class__ is PackagePayload:
On Mon, 2014-09-08 at 16:29 -0700, Brian C. Lane wrote:
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.
It's their bad decision. ACK.
anaconda-patches@lists.fedorahosted.org