Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Aug 2017 17:15:47 -0700
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Mark Millard <markmi@dsl-only.net>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>
Subject:   Re: poudriere jail -m null -v head vs. at least one port: the "-v head" is not just for "display"
Message-ID:  <f00de21d-13f0-752e-2694-81246ad4b7d4@FreeBSD.org>
In-Reply-To: <EE935422-489D-4777-895E-3CC41FE552A5@dsl-only.net>
References:  <EE935422-489D-4777-895E-3CC41FE552A5@dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--Uqq2hM6xAmQCaMrXstdf5wq8IqBARJalj
Content-Type: multipart/mixed; boundary="oa99xVc2WpQJrjTbN92TxQJ4Pi0Jn0hpX";
 protected-headers="v1"
From: Bryan Drewery <bdrewery@FreeBSD.org>
To: Mark Millard <markmi@dsl-only.net>,
 FreeBSD Toolchain <freebsd-toolchain@freebsd.org>
Message-ID: <f00de21d-13f0-752e-2694-81246ad4b7d4@FreeBSD.org>
Subject: Re: poudriere jail -m null -v head vs. at least one port: the "-v
 head" is not just for "display"
References: <EE935422-489D-4777-895E-3CC41FE552A5@dsl-only.net>
In-Reply-To: <EE935422-489D-4777-895E-3CC41FE552A5@dsl-only.net>

--oa99xVc2WpQJrjTbN92TxQJ4Pi0Jn0hpX
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 8/15/2017 12:16 AM, Mark Millard wrote:
> From man poudriere :
>=20
>    jail
>      These subcommands are mutually exclusive.
> . . .
>      -v version   Specifies which version of FreeBSD to use in the jail=
=2E  If
>                   you are using method ftp then the version should in t=
he form
>                   of: 9.0-RELEASE.  If you are using method of svn then=
 the
>                   version should be in the form of git or svn branches:=

>                   stable/9 or head for CURRENT.  Other methods only use=
 the
>                   value for display.
>=20
> Note the last sentence.
>=20
> (Side note: despite that sentence poudriere fails if no -v version
> is supplied in the poudriere jail command: the version file ends up
> missing.)
>=20
> Based on the description I tried:
>=20
> poudriere jail -c -j zrFBSDx64Cjail -m null -M /usr/obj/DESTDIRs/clang-=
amd64-installworld-dist -S /usr/src -v head
> poudriere ports -c -m null -M /usr/ports
> /usr/bin/nohup poudriere bulk -j zrFBSDx64Cjail -f /root/amd64-prelim-o=
rigins.txt -w &

'poudriere jail -c' tries to use SRCDIR/sys/conf/newvers.sh to determine
the revision/RELEASE of the checkout.  In this case since you specified
-S of /usr/src then it should try to use that for getting the revision
information.

I do need to fix a few bugs here. Documenting that null/tar have a
specific format requirement (same as ftp).  And it needs to be better
about using the provided /usr/src or erroring if none if found or if the
format is not correct.

Thanks, will fix it all.

--=20
Regards,
Bryan Drewery


--oa99xVc2WpQJrjTbN92TxQJ4Pi0Jn0hpX--

--Uqq2hM6xAmQCaMrXstdf5wq8IqBARJalj
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

iQEcBAEBAgAGBQJZk46zAAoJEDXXcbtuRpfPoTgH/1tZH/0rl7w2yjRh44o2tE4O
++QJKBSsbqiEXyNgoDIRBzdMDhgkVG7w6AKHqVhJlFVUEXxYDNFiTiARyvdVA8pP
pU/nr6p9GqPtNQnXNdRWWQESPTd6aRDGPyAshDbNgtfc5KKfmMlyXfiS37Xq6PT9
MaT8/fLCAITfs7zyQB0Aivgv3G8JG0HLCDq1yh5XBHBXtpcL/PAuYmeu4DfyR0aN
CF2z9geErZ5S6Bg58kWzCA1FXKtUTmsaqZJsvjbMDGtrSIoVgpmRQY/dqGtVnLUt
E7PGSfRbPpwV35MDaPzXK8e8HQN6CruP1Ycf5jM+Iwox9jAjgbEVUerKB+TVYRQ=
=9K5R
-----END PGP SIGNATURE-----

--Uqq2hM6xAmQCaMrXstdf5wq8IqBARJalj--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f00de21d-13f0-752e-2694-81246ad4b7d4>