poudriere && moving from svn to git for downloading source
Yasuhiro Kimura
yasu at utahime.org
Thu Jan 7 10:06:42 UTC 2021
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
More information about the freebsd-current
mailing list