Date: Fri, 1 Aug 2025 09:07:15 +0200 From: Guido Falsi <mad@madpilot.net> To: vermaden <vermaden@interia.pl>, freebsd-pkgbase@FreeBSD.org Subject: Re: PKGBASE Poudriere Message-ID: <8d19c099-73ac-49e7-913f-d8c87d2446de@madpilot.net> In-Reply-To: <mvcszjvryoncqffgeham@rklb> References: <mvcszjvryoncqffgeham@rklb>
index | next in thread | previous in thread | raw e-mail
On 8/1/25 01:33, vermaden wrote: > Hi. > > Is there some more or less official or not way to use Poudriere to build PKGBASE packages? > > There are lots of guide on the net ... but nothing really well documented and explained. > > Thanks, > vermaden > Short version: poudriere jail -c -j 15amd64 -a amd64 -b -B -m src=/usr/src -K GENERIC to build using sources present in /usr/src the -K <kernelconfig> is required, and multiple ones can be specified, you will get multiple kernel packages. You should find package sets in "/poudriere/data/images/15amd64-repo/FreeBSD:15:amd64/" (path depends on the OS version you compiled obviously) This will also leave you a poudriere jail built from the sources indicated. I use sources from /usr/src so I can have full control of what I get with git, I sometimes use local patches from a personal "forked" repo. If you want to build fetching sources directly (requires git installed), for example for 14.3-STABLE: poudriere -jail -c -j 143amd66rr -a amd64 -b -m git+https -v stable/14 Which will perform a shallow clone, default configuration should use the official project mirrors. Looks like in this case a kernel config is not explicitly required, should build GENERIC by defaut, if you want to use a different kernel config you should pass it with -K like the above example. I hope this helps, anyway your best resource about this is the poudriere-jail(8) man page. -- Guido Falsi <mad@madpilot.net>help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8d19c099-73ac-49e7-913f-d8c87d2446de>
