Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Aug 2023 16:39:31 +0100
From:      void <void@f-m.fm>
To:        freebsd-current@freebsd.org
Cc:        Michael Grimm <trashcan@ellael.org>
Subject:   Re: poudriere && git
Message-ID:  <ZNEOjZbr41_nGCYH@int21h>
In-Reply-To: <ZM%2Bp9NXMpFgmglLB@c720-r368166>
References:  <ZM3zz1bmc41WDCLP@c720-r368166> <20230805080811.GA11506@home.opsec.eu> <ZM%2BKKKTtKwQX0YWF@c720-r368166> <78387A8F-1F30-4BA6-97A4-8E2DDC827008@ellael.org> <ZM%2Bp9NXMpFgmglLB@c720-r368166>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 06, 2023 at 04:11:00PM +0200, Matthias Apitz wrote:

>I'm now already running a new "make buildworld" again, which perhaps will
>but the actual tools into .../legacy/... and they will work because
>tools and shared libs fit together.
>
>I think there is something broken in buildworld with these legacy stuff.

The way I build multiple versions of poudriere jails (this is on a -current
box) is like this:

1. first decide what version to build. In this case, 13-stable.
2. if not already done, git clone https://git.freebsd.org/src.git /usr/src
3. cd /usr/src && git checkout stable/13
4. poudriere jail -c -j 13stable -b -m src=/usr/src -J8 -v stable/13

then

if I want to make a 12.4 poudriere on the same box:

5. cd /usr/src && git checkout releng/12.4
6. poudriere jail -c -j 124releng -b -m src=/usr/src -J8 -v releng/12.4

7. if I want to update these jails, I need to first 'git checkout' the right version
    before running -u. I cannot accurately recall if you'd have to use -b as well,
    but I don't think you do. After all, -v isn't required in a -u context. So, to update,
    'poudriere jail -j jailname -J8 -u'. -b builds from the specified sources *and* makes
    its own obj tree, from what I've seen.
-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZNEOjZbr41_nGCYH>