Date: Thu, 07 Jan 2021 19:05:43 +0900 (JST) From: Yasuhiro Kimura <yasu@utahime.org> To: guru@unixarea.de Cc: freebsd-current@freebsd.org Subject: Re: poudriere && moving from svn to git for downloading source Message-ID: <20210107.190543.1687211847043633803.yasu@utahime.org> In-Reply-To: <X/bGD4ZY7DZ9pr3S@c720-r368166.fritz.box> References: <X/bGD4ZY7DZ9pr3S@c720-r368166.fritz.box>
next in thread | previous in thread | raw e-mail | index | archive | help
From: Matthias Apitz <guru@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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210107.190543.1687211847043633803.yasu>