Date: Sat, 13 Mar 2021 19:04:36 +0900 (JST) From: Yasuhiro Kimura <yasu@utahime.org> To: freebsd-current@freebsd.org Subject: Re: poudriere jail: specific commit Message-ID: <20210313.190436.692007261153478069.yasu@utahime.org> In-Reply-To: <CAFDf7UKF4SSNeVLyqpSZfyu98oWrqFfHN-Vv7L5S2HzwG=SLCg@mail.gmail.com> References: <CAFDf7UKF4SSNeVLyqpSZfyu98oWrqFfHN-Vv7L5S2HzwG=SLCg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
From: Nuno Teixeira <eduardo@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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210313.190436.692007261153478069.yasu>