Date: Fri, 29 May 2015 15:16:33 -0700 From: "Russell L. Carter" <rcarter@pinyon.org> To: Kevin Oberman <rkoberman@gmail.com> Cc: FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: 10/stable virtualbox-ose crashes Message-ID: <5568E541.4090309@pinyon.org> In-Reply-To: <CAN6yY1vnRbYxs=aCy-f1gyvC=NzD6qVFa1Ao%2Bw7ajZWKUZjiQA@mail.gmail.com> References: <55689D79.3090907@pinyon.org> <CAN6yY1sz-vUk0%2BN-JveoBhE%2BFANGsS=ebcgfyF-35VmG_-bEcA@mail.gmail.com> <5568B6FC.60700@pinyon.org> <CAN6yY1vnRbYxs=aCy-f1gyvC=NzD6qVFa1Ao%2Bw7ajZWKUZjiQA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 05/29/15 14:19, Kevin Oberman wrote: > On Fri, May 29, 2015 at 11:59 AM, Russell L. Carter <rcarter@pinyon.org > <mailto:rcarter@pinyon.org>> wrote: [...] > I maintain my packages with poudriere. I build the world+kernel on > another system and install via NFS onto the poudriere package builder. > poudriere keeps its own world in a chroot, of course. But it doesn't > build a kernel. Which src.conf should the PORTS_MODULES be added to? > > Thanks the help, > Russell > > > If you run stable or current, I would not use packages for kernel > modules. Build them from ports. They have nothing to link to, so the > issues with mixing ports and packages should not arise. > > I don't know any sane way other than this to deal with kernel modules on > stable or head. Ah. Now we get to the interesting problems. virtualbox-ose-kmod is a runtime dependency of virtualbox-ose, and my understanding was (maybe wrong?) that poudriere will build packages for all dependencies, and then pkg install virtualbox-ose will install those dependencies. src.conf's PORTS_MODULES updates the specified ports using the local ports tree, correct? I will need to ensure poudriere's ports tree is the same as /usr/ports. Then thinking about separate world/kernel and package builders, that begins to look very high maintenance. Both world and poudriere packages building should probably live on the same system. NFS installs would then require exporting /usr/ports on the world/pkgs build system so that clients could install the updated ports kernel modules specified in PORTS_MODULES. Still, the problem remains about how to make sure the right thing happens so that poudriere's kernel module packages built as dependencies don't conflict with PORTS_MODULES kernel modules. Gack. I give up for now. Russell > -- > Kevin Oberman, Network Engineer, Retired > E-mail: rkoberman@gmail.com <mailto:rkoberman@gmail.com>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5568E541.4090309>