Re: poudriere && moving from svn to git for downloading source

From: Yasuhiro Kimura <yasu_at_utahime.org>
Date: Thu, 07 Jan 2021 19:05:43 +0900 (JST)
From: Matthias Apitz <guru_at_unixarea.de>
Subject: poudriere && moving from svn to git for downloading source
Date: Thu, 7 Jan 2021 09:27:59 +0100

> 
> Hello,
> 
> I use poudriere to compile my used ports. Could someone please explain
> or point me to a document which explains the now to be used syntax to
> create (i.e. checkout) the jail and the ports tree. Actually I'm using
> something like:
> 
> # poudriere jail -c -j freebsd-r368166 -m svn+http -v head_at_r368166
> 
> or 
> 
> # poudriere jail -c -j freebsd-head -m svn+http
> 
> and for the ports tree
> 
> # poudriere ports -c -p ports-20201130  -m svn -U svn://svn.freebsd.org/ports/
> 
> Thanks
> 
> 	matthias

At first I don't necessarily recommend it. But you can use following
steps.

1. Clone src repository somewhere you prefer

git clone https://git.freebsd.org/src.git /somewhere/you/want/to/chechout

2. Build poudriere jail with source tree checked out at step 1

poudriere jail -c jailname -m src=/somewhere/you/want/to/chechout -b

Then you can update jail to any commit hash with following command.

git -C /somewhere/you/want/to/chechout checkout (hash value you want to use)

poudriere jail -u -j jailname -b

---
Yasuhiro Kimura
Received on Thu Jan 07 2021 - 09:06:42 UTC

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