Re: poudriere jail: specific commit

From: Yasuhiro Kimura <yasu_at_utahime.org>
Date: Sat, 13 Mar 2021 19:04:36 +0900 (JST)
From: Nuno Teixeira <eduardo_at_freebsd.org>
Subject: poudriere jail: specific commit
Date: Sat, 13 Mar 2021 09:49:50 +0000

> I'm running 14.0-CURRENT #0 fb3edd4f3 and I need a poudriere jail with same
> commit fb3edd4f3.
> 
> porters handbook says:
> ---
> If a specific Subversion revision is needed, append it to the version
> string. For example:
> 
> # poudriere jail -c -j 11i386 -v stable/11_at_123456 -a i386 -m svn+https
> ---
> How can I tell poudriere to fetch git commit fb3edd4f3?
> 
> I'm asking this because I need poudriere testport, and I will like that
> jailed version is same as installed OS.
> 
> Thanks,

You updated your host OS to 14.0-CURRENT fb3edd4f3 with regular steps
described in /usr/src/Makefile. Right? If so you can create jail of
same commit as host with following command.

# poudriere jail -c -j jailname -m src=/usr/src

In this case files under /usr/obj are used to create jail. So you need
not do 'make buildworld' again for jail.

---
Yasuhiro Kimura
Received on Sat Mar 13 2021 - 09:05:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:27 UTC