freebsd / poudriere

Port/Package build and test system
https://github.com/freebsd/poudriere/wiki
BSD 2-Clause "Simplified" License
388 stars 161 forks source link

jail: Fix pkgbase jail creation #1116

Closed evadot closed 8 months ago

evadot commented 8 months ago

Since the official repo aren't using 'latest' directory fix how we construct the pkgbase url. Now it's flexible enough to accomodate for most use case. An example on how to create a 15-CURRENT jail: poudriere jail -j pkgbase-main-weekly -c -m pkgbase=base_weekly -U https://pkg.freebsd.org/ -v 15 -a amd64

This will use the base_weekly repository, while poudriere jail -j pkgbase-main-weekly -c -m pkgbase=base_latest -U https://pkg.freebsd.org/ -v 15 -a amd64 will use the base_latest one.

This also install the FreeBSD-src-sys package so we can build kmods in the jail.

Sponsored by: Beckhoff Automation GmbH & Co. KG