On Tue, Oct 27, 2015 at 05:38:58PM +0100, viq wrote: > On pon, 2015-10-26 at 09:17 +0000, Christian Weisgerber wrote: > > On 2015-10-25, viq <[email protected]> wrote: > > > > > Is there a way to have dpb build things from mystuff? > > > > Since I struggled with this myself recently: > > > > Put mystuff into PORTSDIR_PATH ahead of the main ports tree: > > PORTSDIR_PATH=/usr/ports/mystuff:/usr/ports > > > > If you feed a list of ports to build into dpb, do NOT prefix any > > package paths with mystuff/. > > > > Yeah, thanks. I was also trying to have only some things built from > openbsd-wip, turns out ports tree does not like symlinks. > > I'd also be interested to see Espie's prepare scripts for building in > chroot, so far it seems like I need two _identical_ copies of ports > tree (and mystuff), and I haven't thought of how to do it best yet.
Nah, actually my ports tree is checked out directly inside my chroot, and I mount it inside the chroot on the distant boxen as well. The original chroot was mostly done by doing make release DESTDIR=/build rsync /usr/X11R6 /build/usr/X11R6 and adjusting things until it would work. Actual automated scripts are not yet quite finished and not really of any use so far.
