Date: Mon, 25 Mar 2024 08:02:26 +0000 From: Lexi Winter <lexi@le-fay.org> To: Graham Perrin <grahamperrin@gmail.com> Cc: freebsd-pkgbase@freebsd.org Subject: Re: FreeBSD-base and poudriere Message-ID: <ZgEvkmF2xLaA6erV@ilythia.eden.le-fay.org> In-Reply-To: <9fdff6f8-c7d2-4cb0-918c-16530724a674@gmail.com> References: <8c4f0ffe-6961-f119-0034-0becf860b616@gjunka.com> <9fdff6f8-c7d2-4cb0-918c-16530724a674@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--L4tdy6MGCA0uGhgV Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Graham Perrin: > On 06/04/2020 10:24, Grzegorz Junka wrote: > > Is it possible to create a poudriere jail using FreeBSD-base packages? >=20 > Maybe not a fit for your scenario, but FYI: >=20 > Unable to create jail using pkgbase method =B7 Issue #1088 =B7 freebsd/po= udriere > <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=3Dhttps://pkg.eden= =2Ele-fay.org/base =2E.. 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 --L4tdy6MGCA0uGhgV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmYBL48ACgkQDHqbqZ41 x5mregv+OjJfGxEpTsbPzVphB3ciFYAQKfmT8GPF0ZTZssJoH28uUOM+TrIpkP2o tewIoTJ9ayxhkmrFosN/mK72TI8exPLrGRBJz/NgeQJ1xL5tWPM0gHqNFIKDszjZ 5TY3f+1dqWEOldQ9hinmVQbkuBv8oc4vnexGlO0RDxdXYf+siV60LGvcxfQV3lai mNCM/GEdu4sf3PzOF2uyM8wiaySIrJpgGyLVi/zfF91nTCCAUJyJPfkYVfNlhWyk P/Apj4VG/g0KU2jsSu6EX6gY2LJA3R+hkESlsHpJBtmL1Qo55wTn/+jrnbyzkJws yxdFYSnCJCIEHJtw6rREAAjujlWQPnt2HMvYpzEyHqx8NdQpO+a1GKGKaRez73v2 gmPkKYB9UETi95o6PfvGOul7i2j0eqcszIMDJxMBeO5kBR4rCeswPWZLmp6D0A3O lyRfjsXEfW8odc/w0AURQGO1ppeOMRL48GNpTNIT4doi1d2pUIvHy22wdrE2h4rH 3uhWFfhE =qgUh -----END PGP SIGNATURE----- --L4tdy6MGCA0uGhgV--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZgEvkmF2xLaA6erV>