Date: Mon, 6 Apr 2020 11:42:47 +0200 From: Guido Falsi <mad@madpilot.net> To: Grzegorz Junka <list1@gjunka.com>, freebsd-pkgbase@freebsd.org Subject: Re: FreeBSD-base and poudriere Message-ID: <d07d49a6-740f-25f1-f3ba-4d43d6162f1a@madpilot.net> In-Reply-To: <8c4f0ffe-6961-f119-0034-0becf860b616@gjunka.com> References: <8c4f0ffe-6961-f119-0034-0becf860b616@gjunka.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 06/04/20 11:24, Grzegorz Junka wrote: > Is it possible to create a poudriere jail using FreeBSD-base packages? > > I am thinking about a scenario where I build kernel/world and base > packages on the host, then create a poudriere jail to build packages on > the exact same kernel/world that was build on the host. I'm doing a similar thing on head. What I do is run normal svn up; make buildworld; make buildkernel; make packages on the poudriere machine. I the upgrade that machine with the new base packages. After that I perform: poudriere jail -j ${j} -u -t 359154 where 359154 is the subversion revision I have just compiled in /usr/src. So I get packages for that exact head revision. Hope this answers your question. BTW I have found no way to create a jail with a fixed svn revision from the get go. When I need to do that, I resort to temporarily modifying poudriere code at jail.sh:563, adding -r <rev> option. I then revert the change. -- Guido Falsi <mad@madpilot.net>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d07d49a6-740f-25f1-f3ba-4d43d6162f1a>