Date: Fri, 11 Mar 2016 09:47:06 -0800 From: Bryan Drewery <bdrewery@FreeBSD.org> To: "O. Hartmann" <ohartman@zedat.fu-berlin.de>, freebsd-ports@freebsd.org Subject: Re: poudriere and MAKEOBJDIRPREFIX Message-ID: <56E3049A.6080402@FreeBSD.org> In-Reply-To: <20160310143739.3c21bbac@hermann> References: <20160310143739.3c21bbac@hermann>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --joe33fpV5UVUPSmxauDXVJWtPnjCO1bA6 Content-Type: multipart/mixed; boundary="39nnxobCgwRJfcJId7El7TnBEe3gcCiiR" From: Bryan Drewery <bdrewery@FreeBSD.org> To: "O. Hartmann" <ohartman@zedat.fu-berlin.de>, freebsd-ports@freebsd.org Message-ID: <56E3049A.6080402@FreeBSD.org> Subject: Re: poudriere and MAKEOBJDIRPREFIX References: <20160310143739.3c21bbac@hermann> In-Reply-To: <20160310143739.3c21bbac@hermann> --39nnxobCgwRJfcJId7El7TnBEe3gcCiiR Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 3/10/2016 5:37 AM, O. Hartmann wrote: > env MAKEOBJDIRPREFIX=3D/some/place poudriere jail -c -j 10-stable-amd64= \ > -a amd64 -v stable/10 -m src=3D/somesrc/srcplace/ >=20 > In poudriere.conf I added=20 >=20 > export MAKEOBJDIRPREFIX=3D$MAKEOBJDIRPREFIX >=20 > as recommended in some posts I found googling for a solution. Please > have in mind that I use csh - the export and poudriere's environment is= > obviously sh. >=20 > This fails, the PATH is always cut down to /somesrc/srcplace/, missing > the prepending portion taken from MAKEOBJDIRPREFIX - it is set to zero > length it seems. Ommitting env MAKEOBJDIRPREFIX=3D/some/place to the > poudriere command as shown above results in "usr/obj" being prepended. > This seems odd! >=20 > The only sollution to this was to give the specific jail its private > 10-stable-amd64-poudriere.conf. But this seems to be not the correct > way to do so, since MAKEOBJDIRPREFIX is supposed to be set in the > environment. >=20 > What am I missing here? The poudriere command clears the environment except for PATH and TERM. A 10-stable-amd64-poudriere.conf with export MAKEOBJDIRPREFIX=3Dvalue would work. --=20 Regards, Bryan Drewery --39nnxobCgwRJfcJId7El7TnBEe3gcCiiR-- --joe33fpV5UVUPSmxauDXVJWtPnjCO1bA6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJW4wSaAAoJEDXXcbtuRpfPnKQIALZffB/FulIdBufVzhn/f5kk vvTQEc/nw1egkINfWpOQ6bItuAmRg3DVsry7QoxeKLZ4V0dnFlartwDCFNinS9yL ahvfD89RgsKtUcVb5ElKzpgnQpX1CYxyZ0XNpTM6sUVMf41lAAA5GZNuCeDJDCZd DlCbaLhX1mOH9DFzHMjUESJEm5+yEvOt9nQSueN/9cE5cOuZIMLZyp/psH+fyNQ7 gmUJIRoqTvVZFFRQj4eOzMxyX44Kc+1hfJ7+I2zWjr2m9acKvpTqPGcdYFV2xPE/ UgQ6q2JxnHvKZihirEmHghVPahymgK6Kizi7q2Hl+2UMCTHaAUdXuBB/JTS+URg= =3np5 -----END PGP SIGNATURE----- --joe33fpV5UVUPSmxauDXVJWtPnjCO1bA6--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56E3049A.6080402>