Re: How to create a poudriere jail for a specific git hash of 15.0-CURRENT?

From: Shawn Webb <shawn.webb_at_hardenedbsd.org>
Date: Tue, 17 Sep 2024 18:09:19 UTC
On Tue, Sep 17, 2024 at 11:00:40AM UTC, Craig Leres wrote:
> which I assume uses the most current hash.
> 
> Looking at the -m flag I suppose I could clone 15-CURRENT, "git checkout
> a5a965d75934", and then use -b -m src=path? Is that my best option?

That's exactly how I do it. Though, using `-m src=...` requires one to
do a buildworld first:

$ cd /data/src
$ git clone ssh://anongit@git.freebsd.org/src.git freebsd
$ cd freebsd
$ git reset --hard a5a965d75934
$ make -sj$(sysctl -n hw.ncpu) buildworld
$ sudo poudriere jail -c -m src=/data/src/freebsd -j current -p local

Thanks,

-- 
Shawn Webb
Cofounder / Security Engineer
HardenedBSD

Tor-ified Signal: +1 303-901-1600 / shawn_webb_opsec.50
https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc