On 04/08/2010 08:01 PM, Brian C. Lane wrote:
Is package.repo.anacondaBaseURLs a sufficient replacement for self.currentMedia? Is it going to be initialized in the same situations?
Actually it is a better replacement - we need to narrow the conditon and to make it based on repo that triggered the failure (which can be e.g. an added http: repo), not on currentMedia which is an attribute initialized when using any media or nfsiso or hdiso repo - typically it is base installation repo.
Is [0] always going to be cdrom? It is a list, and I don't see anything sorting it so couldn't cdrom appear anywhere in the list of URLs?
Yes, for media installs it is, we are using AnacondaYumRepo object's attribute anacondaBaseURLs as extension of base YumRepository object's attribute baseurl to hold url types yum doesn't support (e.g. nfs:) - that is why it is a list as well. It might be confusing then, but anacondaBaseURLs just contains one item - user-provided
url of the repo object. Radek _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list