cvs commit: src/usr.sbin/sysinstall config.c

Matteo Riondato rionda at gufi.org
Tue Apr 12 10:15:49 PDT 2005


On Tue, Apr 12, 2005 at 12:05:49PM -0500, Mark Linimon wrote:
> On Tue, 12 Apr 2005, Alexander Leidinger wrote:
> 
> > John Baldwin <jhb at FreeBSD.org> wrote:
> > 
> > >  Modified files:
> > >    usr.sbin/sysinstall  config.c
> > >  Log:
> > >  Explicitly install linux_base 8 to make sure the right version is
> > >  installed.
> > 
> > Any ideas how to help sysinstall to get the right one without hardcoding it?
> > Some hints in the linux_base* ports?
> 
> IIRC from my reading the followup to some of these sysinstall PRs
> (possibly a little bit fuzzy), there is a general problem where
> sysinstall assumes the first port matching regex is to be installed.
> I believe the cited case was postfix.
> 
> If this is the case, then wiring up logic just to fix the linux_base
> case isn't really fixing the general case.
> 
> John, am I completely talking nonsense here?

No, you're right.
sysinstall reads INDEX, then orders the entries in alphabetic order.
How the search is done, you can find in usr.sbin/sysinstall/index.c,
the function is index_search, line 458.
Best Regards
-- 
Rionda aka Matteo Riondato
Disinformato per default
G.U.F.I. Staff Member (http://www.gufi.org)
FreeSBIE Developer (http://www.freesbie.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20050412/02e3271d/attachment.bin


More information about the cvs-src mailing list