Re: FreeBSD-base and poudriere
- In reply to: Graham Perrin : "Re: FreeBSD-base and poudriere"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Mar 2024 08:02:26 UTC
Graham Perrin: > On 06/04/2020 10:24, Grzegorz Junka wrote: > > Is it possible to create a poudriere jail using FreeBSD-base packages? > > Maybe not a fit for your scenario, but FYI: > > Unable to create jail using pkgbase method · Issue #1088 · freebsd/poudriere > <https://github.com/freebsd/poudriere/issues/1088> i believe this issue is because pkg.freebsd.org puts the packages in 'base_latest', while poudriere expects them to be in 'latest'. this is probably a poudriere bug. i am successfully using poudriere with pkgbase with a repository i built myself. using a repository at: https://pkg.eden.le-fay.org/base/FreeBSD:15:aarch64/latest with the command: # poudriere jail -c -j test -v 15 -a aarch64 -m pkgbase=https://pkg.eden.le-fay.org/base ... successfully creates a jail. (sorry, this repository is private, so it won't work for anyone else.) however, this doesn't seem to be well tested, because i've already run into at least three separate problems: 1. install fails without '-a aarch64' because poudriere tries to use 'FreeBSD:15:arm64.aarch64' as the pkg ABI, which is wrong (it should be 'FreeBSD:15:aarch64'). 2. install fails because poudriere selects the wrong packages to install in the jail; reported (with patch) at [0]. 3. updating works, but doesn't actually update the jail because it doesn't recreate the @clean snapshot. i only noticed this about an hour ago so not reported yet. despite that, poudriere+pkgbase is still easier than poudriere+src for my use-case, so i'll probably stick with it, and hope it improves in future. regards, lexi. [0] https://github.com/freebsd/poudriere/issues/1137