Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 May 2021 01:11:44 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Tatsuki Makino <tatsuki_makino@hotmail.com>
Cc:        bob prohaska <fbsd@www.zefox.net>, FreeBSD ports <freebsd-ports@freebsd.org>
Subject:   Re: Python 37/38 conflict, was Re: Trubles compiling lxqt on RPi4
Message-ID:  <52D036B7-D66D-417D-8C75-7868C9FEFE6A@yahoo.com>
In-Reply-To: <PSAPR03MB56398C972736997CEF823487FA2E9@PSAPR03MB5639.apcprd03.prod.outlook.com>
References:  <0B407A98-E0D4-461E-BFD8-E02019E96757.ref@yahoo.com> <0B407A98-E0D4-461E-BFD8-E02019E96757@yahoo.com> <20210515233735.GA58311@www.zefox.net> <A43A154A-FB52-45DB-B3BB-DE1740128B14@yahoo.com> <PSAPR03MB56398C972736997CEF823487FA2E9@PSAPR03MB5639.apcprd03.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2021-May-16, at 00:16, Tatsuki Makino <tatsuki_makino at hotmail.com> =
wrote:

> Mark Millard via freebsd-ports wrote on 2021/05/16 10:57:
>> In the form that I use poudriere I use something
>> like the following. I presume here that /usr/src
>> is populated and has the source for the system
>> involved. (I do not remember your describing its
>> status.)
> (Omitted below)
>=20
> I was just wondering...
> If you want to use the sources in /usr/src and collect the files in =
/usr/obj to make a jail, the following is easier.
>=20
> poudriere jail -c -j main -m 'src=3D/usr/src' -v `make -C =
/usr/src/release/ -V VERSION VERSION=3D\$\{REVISION:Q\}-\$\{BRANCH:Q\}`
>=20
> Updating it can be done with just the following.
>=20
> poudriere jail -u -j main


Bob already does a buildworld based on /usr/src for other
reasons/uses than poudriere. My suggestions are targeted
to resusing that buildworld result instead of involving
doing another buildworld for poudriere. It is also biased
to not changing how he does that buildworld (out of scope
to what he was asking about). So far as I know he does
not use /usr/src/release to do builds. Bob's system is
not fast, each buildworld is time consuming.

Would your command suggestion reuse his already-existing
buildworld?


In my own use the same is true: I buildworld separately
before any poudriere activity (for other reasons/uses)
and then I reuse the buildworld that resulted for
also setting up poudriere later.

In essence, the same buildworld that generates what I
boot is later also used to set up (or update) a
poudriere. In other contexts, I set up (or update) an
independent chroot directory tree first and later a
poudriere directory tree --via one buildworld used
for setting up (or updating) both.

I do not use /usr/src/release to do buildworld or
installworld activities.

As most of the systems involved for my activity are
far from fast, avoiding extra buildworlds and reusing
buildworld results saves time. It also saves storage.
(I choose to work the same way on the fast
ThreadRipper 1950X for uniformity of procedure.)



=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52D036B7-D66D-417D-8C75-7868C9FEFE6A>