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

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

 



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: pgpyOhghResHP.pgp
Description: PGP signature

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

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux