[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: [PATCH] use repo config files instead of a list



How about looking for repo config file in /etc/yum.repos.d in product.img as
well?  This makes it easy for distro customizers to extend the base set from
the original distro.

Kay

-----Original Message-----
From: anaconda-devel-list-bounces redhat com
[mailto:anaconda-devel-list-bounces redhat com] On Behalf Of Chris Lumens
Sent: Wednesday, May 28, 2008 2:09 PM
To: anaconda-devel-list redhat com
Subject: [PATCH] use repo config files instead of a list

In past releases of Fedora, we've maintained a list in the install class
that specifies extra repos that should be added to the task list UI.  In the
last release (F9), we got nailed because the mirror URLs changed and we
didn't notice, so clicking "Additional Fedora Software" failed.
Further, people keep wanting the updates repo enabled.

What better way to fix up both these problems than to use the existing
/etc/yum.repos.d/* files from the fedora-release package instead of
maintaing our own list?  That's what the attached patch does.  It's not
complete yet but it is getting there.

Problems:

- Driver disks should write out repo files as well, but I think driver
  disks are broken in general so it's not really worth fixing this
  immediately.
- The repo configured in loader that gets passed to anaconda as method=
  is enabled, as is the regular Fedora release repo from the
  fedora-release package.  This sounds like an exciting battle.  I
  suppose it can be fixed a little bit with cost=, but I probably need
  a way to only enable one "base" repo.

Thoughts?

- Chris


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]