Date: Sun, 24 Jan 2021 21:55:24 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> To: "Russell L. Carter" <rcarter@pinyon.org>, FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: poudriere merging multiple ports trees Message-ID: <fb200ef5-0080-b4e2-5905-73b96c4ff569@quip.cz> In-Reply-To: <3ea16730-84a1-52ce-2251-bdd808fe5c52@pinyon.org> References: <3ea16730-84a1-52ce-2251-bdd808fe5c52@pinyon.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 24/01/2021 20:35, Russell L. Carter wrote: > Greetings, > I am completely ignorant here and am looking for up to > date advice on how to get poudriere to build and make > available package sets from multiple ports trees. I > see there is a port "portshaker" that seems to do much > of what I want. [...] Ports and poudriere supports "overlay" for some time (it was added in the last year) So you can use default ports tree plus your own tree with own ports or modified existing ports and build packages from both of them. Both ports trees must be registred in poudriere. In this example it will be "default" and "mfh_overlay". The second contains my modifications. # poudriere ports -l PORTSTREE METHOD TIMESTAMP PATH default svn+https 2021-01-15 20:23:10 /vol0/poudriere/ports/default headtest portsnap 2020-03-10 12:37:55 /vol0/poudriere/ports/headtest mfh_overlay svn+https 2019-11-04 16:33:04 /vol0/poudriere/ports/mfh_overlay And the you can run "poudriere bulk" command with -O and the name of your "overlay" tree - "mfh_overlay" in this case ("monitoring" is the name of my packages set used only on machines doing monitoring stuff) # poudriere bulk -v -j 11_4_amd64 -z monitoring -p default -O mfh_overlay -f /usr/local/etc/poudriere.d/pkglists/monitoring But there is one problem. "poudriere bulk" supports overlay with -O but "poudriere options" not. It means you cannot run "poudriere options" to configure options for both trees. Poudriere ends with error about nonexistent ports origin if it exists only in overlay tree and not in the default tree. Miroslav Lachman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fb200ef5-0080-b4e2-5905-73b96c4ff569>