Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2022 05:19:58 +0900
From:      Tatsuki Makino <tatsuki_makino@hotmail.com>
To:        Dmitry Morozovsky <woozle@woozle.net>, freebsd-ports@FreeBSD.org
Subject:   Re: sed trouble when UNAME_* is set in jail (fwd)
Message-ID:  <PSAPR03MB5639DB8484AB4E5451B27573FA5F9@PSAPR03MB5639.apcprd03.prod.outlook.com>
In-Reply-To: <alpine.BSF.2.00.2201251623510.65651@woozle.rinet.ru>
References:  <alpine.BSF.2.00.2201242244230.65651@woozle.rinet.ru> <765383430.947805.1643068188075@ichabod.co-bxl> <alpine.BSF.2.00.2201251623510.65651@woozle.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello.

Dmitry Morozovsky wrote on 2022/01/25 22:26:
> Replying to myself,
> 
> On Tue, 25 Jan 2022, Sysadmin Lists wrote:
> 
>>> I have a jail on my build system, nested-built on a previous major; on the 
>>> case, it's stable/10; for a poudriere, it is defined as null-mounted from the 
>>> build jail:
>>>
>>> 10-amd64 stable/10        amd64 null   2022-01-20 13:10:41 /X/j10a
>              ^^^^^^^^^ 
> here is the problem, it should be version, not branch, "10.4-STABLE" 
> 
> (10-STABLE is not enough as OSVERSION check will fail)
> 

When creating a jail, it seems that you don't need to set -v when -m is src=*|null|git*.
Rather, it seems that -v should not be set.
Setting -v when -m is above, it just happens to work correctly when it is the correct value.
Details are near lines 919 and 1207 of poudriere-3.3.7_1 ${LOCALBASE}/share/poudriere/jail.sh.

Regards.




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