On 8/15/2017 12:16 AM, Mark Millard wrote:
> From man poudriere :
> 
>    jail
>      These subcommands are mutually exclusive.
> . . .
>      -v version   Specifies which version of FreeBSD to use in the jail.  If
>                   you are using method ftp then the version should in the 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.
> 
> Note the last sentence.
> 
> (Side note: despite that sentence poudriere fails if no -v version
> is supplied in the poudriere jail command: the version file ends up
> missing.)
> 
> Based on the description I tried:
> 
> 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-origins.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.

-- 
Regards,
Bryan Drewery

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to