Re: poudriere && git
- In reply to: Matthias Apitz : "Re: poudriere && git"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Aug 2023 15:39:31 UTC
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. --