Poudriere make.conf documentation question
Adam Weinberger
adamw at adamw.org
Fri Apr 17 17:15:26 UTC 2020
On Fri, Apr 17, 2020 at 10:54 AM Brooks Davis <brooks at freebsd.org> wrote:
>
> On Fri, Apr 17, 2020 at 09:42:51AM -0700, Jose Quinteiro wrote:
> > Hello,
> >
> > The Handbook says:
> > "The system make.conf and this new file are combined at build time to
> > create the make.conf used by the build jail."
> > https://www.freebsd.org/doc/handbook/ports-poudriere.html
> >
> > The poudriere man page and Porter's Handbook do not mention
> > /etc/make.conf as a file that will get used.
> >
> > My simple test did not work with /etc/make.conf, but I also suspect I
> > screwed something else up.
> >
> > Does /etc/make.conf get "combined" into the effective make.conf for
> > Poudriere?
>
> I think that documentation is confusing as is the manpage. I think
> that the webpage is refering to the first one in the list below not
> /etc/make.conf, but I could be wrong. Here's the relevent bit of
> the manpage:
>
> Create optional make.conf
> You can also specify a global make.conf which will be used for all the
> jails. Any of the following are allowed and will all be used in the
> order shown:
>
> /usr/local/etc/poudriere.d/make.conf
> /usr/local/etc/poudriere.d/<setname>-make.conf
> /usr/local/etc/poudriere.d/<tree>-make.conf
> /usr/local/etc/poudriere.d/<jailname>-make.conf
> /usr/local/etc/poudriere.d/<tree>-<setname>-make.conf
> /usr/local/etc/poudriere.d/<jailname>-<tree>-make.conf
> /usr/local/etc/poudriere.d/<jailname>-<setname>-make.conf
> /usr/local/etc/poudriere.d/<jailname>-<tree>-<setname>-make.conf
> /usr/local/etc/poudriere.d/hooks/plugins/<plugin>/make.conf
Wow, you and Jose are right, that wording is really confusing. Your
description is correct, Brooks. The system /etc/make.conf is not
exposed to poudriere at all.
# Adam
--
Adam Weinberger
adamw at adamw.org
https://www.adamw.org
More information about the freebsd-ports
mailing list