FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 12-03-2009, 11:42 AM
Ales Kozumplik
 
Default Do not traceback on invalid ks repo --baseurl values (#543003)

On 12/02/2009 04:40 PM, Radek Vykydal wrote:

The cause of traceback is that repo._baseurlSetup changes repo.baseurl
attribute (removes all invalid urls from the list) so we have to keep
invalid urls in anacondaBaseURLs to be able to edit it eventually.

_baseurlSetup is called from whiteout plugin for all repos (by repo.retreiveMD)
after setup of first repo

This is a rhel6 bug, should I commit it to rhel6-branch or wait for rebase?

---
yuminstall.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index accf452..08409d9 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -668,7 +668,7 @@ class AnacondaYum(YumSorter):
# yum doesn't understand nfs:// and doesn't want to. We need
# to first do the mount, then translate it into a file:// that
# yum does understand.
- anacondaBaseURLs = []
+ anacondaBaseURLs = [ksrepo.baseurl]
if ksrepo.baseurl and ksrepo.baseurl.startswith("nfs://"):
if not network.hasActiveNetDev() and not self.anaconda.intf.enableNetwork():
self.anaconda.intf.messageWindow(_("No Network Available"),


Ack.

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 07:46 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org