Date: Sun, 5 Jul 2026 15:52:30 -0700 From: Mark Millard <marklmi@yahoo.com> To: Alastair Hogge <agh@riseup.net>, freebsd-pkgbase@freebsd.org Subject: Re: pkgbase poudriere jails Message-ID: <b606744c-1773-4318-8c4b-894c9ae52eeb@yahoo.com> In-Reply-To: <34dd76dc0989a17547b1ceea94fefae4@riseup.net>
index | next in thread | previous in thread | raw e-mail
On 7/5/26 14:43, Alastair Hogge wrote: > Hello all, > > How do I going about deploying and upgrading pkgbase poudriere jails? > For custom 16-CURRENT jails, this is not problem, however, I would like > 14.4 and 15.1 amd64 jails with FreeBSD-src. > > At the moment I would initiate a poudriere jail with: > doas poudriere jail -cj 14_4-amd64-release -a amd64 -v 14 -f none -m > pkgbase=base_release_4 -U https://pkg.freebsd.org/ > doas poudriere jail -cj 15_1-amd64-release -a amd64 -v 14 -f none -m > pkgbase=base_release_1 -U https://pkg.freebsd.org/ Why -v 14 for "15_1-amd64-release"? > > Considering all the information online, I am not even sure if that is > correct. I was using pkgbase=latest, however that stopped working some > weeks ago. > > -- > To good health > > Warning: my background is in poudriere-devel use, so that is the context here. The context below is also UFS based. Note: FreeBSD-src-sys is normally included in pkgbase poudriere-devel jails. FreeBSD-src is not installed in such by poudriere-devel. First: 15.1-RELEASE poudriere-devel jail creation examples (context where no qemu use is required, armv7 chroot/jail supported) (also: my examples are from a root-account-already-in-use context): # poudriere jail -c -jrelease-aarch64 -aaarch64 \ -U https://pkg.freebsd.org -mpkgbase=base_release_1 \ -v 15 \ -X # poudriere jail -c -jrelease-armv7 -aarmv7 \ -U https://pkg.freebsd.org \ -mpkgbase=base_release_1 -v 15 \ -X Second: Jail upgrades of those (patch update to same version): # poudriere jail -jrelease-aarch64 -u # pkg-static -c /usr/local/poudriere/jails/release-aarch64 clean # poudriere jail -jrelease-armv7 -u # delete and create instead? # pkg-static -c /usr/local/poudriere/jails/release-armv7 clean Note: poudriere-devel may have gotten automatic clean up of the package cache. The clean up can get back notable disk space that otherwise accumulates as updates are done. (Used to?) Going from 15.0 to 15.1 may be better as a jail delete then create sequence, even if using the same jail name. Similarly for N.?-RELEASE to (N+1).0-RELEASE or the like. I'll note that pkgbase for 14.* has only an unofficial status. So far poudriere-devel has been making tradeoffs to have 14.* working anyway instead of using the official pkgbase FreeBSD-* structure to advantage. More ends up in the jail than is needed (last I checked). -- === Mark Millard marklmi at yahoo.comhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b606744c-1773-4318-8c4b-894c9ae52eeb>
