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

Re: [rhel6-branch] Do not backtrace if repo is specified through kickstart only (#659781).



On Fri, Dec 03, 2010 at 01:41:52PM -0500, Chris Lumens wrote:
> > diff --git a/yuminstall.py b/yuminstall.py
> > index 6a55273..994a9bc 100644
> > --- a/yuminstall.py
> > +++ b/yuminstall.py
> > @@ -682,6 +682,8 @@ class AnacondaYum(YumSorter):
> >          return retval
> >  
> >      def _getTreeinfo(self, baseurl):
> > +        if not baseurl:
> > +            return None
> >          if baseurl.startswith("http") or baseurl.startswith("ftp"):
> >              if not network.hasActiveNetDev():
> >                  if not self.anaconda.intf.enableNetwork():
> 
> Do we still end up getting the .treeinfo file and addons from somewhere,
> though?  We need to make sure addons are fetched for every repo enabled.

I don't think we should change current behavior handling for
baseurl=None, see patch #3 from my patchest for a safer solution (not
enabling network, but falling through as before).

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)

Attachment: pgpbGDuc4Srar.pgp
Description: PGP signature


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