Date: Fri, 25 Feb 2005 14:44:27 +1030 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: "M. Warner Losh" <imp@bsdimp.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Driver Update Disk discussion Message-ID: <200502251444.35329.doconnor@gsoft.com.au> In-Reply-To: <20050224.204433.46658352.imp@bsdimp.com> References: <421E7867.9060101@samsco.org> <200502251348.06818.doconnor@gsoft.com.au> <20050224.204433.46658352.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1169957.ZoKzpebqRW Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Fri, 25 Feb 2005 14:14, M. Warner Losh wrote: > : I think PORTS_MODULES is a little suboptimal.. > > How so? If you upgrade your ports tree and then rebuild your kernel you may upgrade= a=20 port KLD without wanting to. > : Fx5200 Go). It also means that the kernel build/install does not result > : in non kernel things being altered. > > How do your patches work? http://www.dons.net.au/~darius/port-kld.diff http://www.dons.net.au/~darius/port-makefile.txt (Rename the later to Makefile and put it in /usr/local/kld) It hooks into /usr/src/sys/modules/Makfile and looks for module directories= to=20 build in a certain directory. It [is supposed to] acts like another=20 subdirectory of /usr/src/sys/modules. > Do they work with multiple kernel trees?=20 I am pretty sure it does but I haven't explicitly tested it - certainly the= =20 source directory doesn't get dirtied by builds. > I guess I'm a little unclear why this is better or worse than > PORTS_MODULES. I guess I'm missing the explicit step, since I only > ever update the parts of my ports tree that I'm upgrading with > portupgrade. Ahh.. I NFS mount my ports tree between a bunch of machines they all have=20 WRKDIRPREFIX, and the ports tree is updated each day using cvsup. I don't think this is an uncommon setup but I don't have any evidence. > : Also speaking of KLD ports.. I really wish they wouldn't install > : into /boot/modules (I patch so they don't) as it is a really good way to > : shoot yourself in the foot during an upgrade :( > > Usually this is only a problem when tracking or jumping to current, > but I understand... Yeah usually, but I have had it happen in -stable too (very rare). Even so = it=20 can be a pretty big waste of time as a developer when you're tracking=20 current ;) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1169957.ZoKzpebqRW Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBCHqYr5ZPcIHs/zowRAvgCAJ92ghcRO7uwfg2fQaFWh8VHdS8awwCfXUvP C9YLjRLEoMA7xtnMaDzP9k0= =pZjT -----END PGP SIGNATURE----- --nextPart1169957.ZoKzpebqRW--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502251444.35329.doconnor>