From owner-cvs-all@FreeBSD.ORG Tue Apr 12 17:15:48 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECDE916A4CE; Tue, 12 Apr 2005 17:15:48 +0000 (GMT) Received: from vsmtp1.tin.it (vsmtp1.tin.it [212.216.176.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9341043D1F; Tue, 12 Apr 2005 17:15:48 +0000 (GMT) (envelope-from rionda@gufi.org) Received: from kaiser.sig11.org (82.50.113.80) by vsmtp1.tin.it (7.0.027) id 425AB0950008209E; Tue, 12 Apr 2005 19:15:46 +0200 Received: by kaiser.sig11.org (Postfix, from userid 1000) id CC61BD0; Tue, 12 Apr 2005 19:15:46 +0200 (CEST) Date: Tue, 12 Apr 2005 19:15:46 +0200 From: Matteo Riondato To: Mark Linimon Message-ID: <20050412171546.GB49979@kaiser.sig11.org> References: <20050412164157.allpbok7r4wosoco@netchild.homeip.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: Alexander Leidinger cc: src-committers@FreeBSD.org cc: John Baldwin cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/sysinstall config.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 17:15:49 -0000 --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 12, 2005 at 12:05:49PM -0500, Mark Linimon wrote: > On Tue, 12 Apr 2005, Alexander Leidinger wrote: >=20 > > John Baldwin wrote: > >=20 > > > Modified files: > > > usr.sbin/sysinstall config.c > > > Log: > > > Explicitly install linux_base 8 to make sure the right version is > > > installed. > >=20 > > Any ideas how to help sysinstall to get the right one without hardcodin= g it? > > Some hints in the linux_base* ports? >=20 > 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. >=20 > If this is the case, then wiring up logic just to fix the linux_base > case isn't really fixing the general case. >=20 > 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 --=20 Rionda aka Matteo Riondato Disinformato per default G.U.F.I. Staff Member (http://www.gufi.org) FreeSBIE Developer (http://www.freesbie.org) --liOOAslEiF7prFVr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCXAJC2Mp4pR7Fa+wRAmV+AKCLW0Bg92OQjs6bNWqNMdYJGKnU1ACglDG5 nAKu7MP/OdgxW8LSKxclkOw= =PIAD -----END PGP SIGNATURE----- --liOOAslEiF7prFVr--