Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Dec 2020 11:16:23 +0100
From:      Michael Grimm <trashcan@ellael.org>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        Kurt Jaeger <pi@freebsd.org>, Thomas Mueller <mueller6722@twc.com>, freebsd-ports@freebsd.org
Subject:   Re: portmaster new development
Message-ID:  <2128EDF2-39D7-4FF4-92AB-9F36FA4CAAC5@ellael.org>
In-Reply-To: <X%2BhMcRqUX17XyyBQ@c720-r368166.fritz.box>
References:  <20201226124150.7c494410@dismail.de> <6d0d128b-9a75-34f4-830c-d8be05ded9cb@freebsd.org> <X%2BhEUk7K92mi%2BEca@home.opsec.eu> <X%2BhMcRqUX17XyyBQ@c720-r368166.fritz.box>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthias Apitz <guru@unixarea.de> wrote:
> El d=C3=ADa domingo, diciembre 27, 2020 a las 09:22:42a. m. +0100, =
Kurt Jaeger escribi=C3=B3:

>> That works as well. I have a checkout of the ports tree, use
>> make config to define non-default port options. This stores the
>> selected OPTIONs in /var/db/ports/, and poudriere uses those options
>> just fine.

> Re/ the options, I copy them into the jail with something like this
> procedure:
>=20
> # cd /usr/ports/mail/mutt
> # make config
>=20
> # mkdir -p /usr/local/etc/poudriere.d/freebsd-head-options/mail_mutt
> # cp /var/db/ports/mail_mutt/options =
/usr/local/etc/poudriere.d/freebsd-head-options/mail_mutt
>=20
> 'freebsd-head' is the name of the poudriere jail (I have some of them)
> and the ports options stay there, as well the make.conf options in
> /usr/local/etc/poudriere.d/freebsd-head-make.conf


I am following stable, and my jail's name has been set to stable.

All of poudriere's settings/configs are kept in:

	/usr/local/etc/poudriere.d

Whenever I do feel the need for non-default port options, I do use =
poudriere's functionality to define and store those options:

	poudriere options -n -j stable mail/postfix

These non-default options are then put into:

	/usr/local/etc/poudriere.d/stable-options/mail_postfix

This way one can keep separate options for different jails in one space. =
But, there are obviously different approaches possible ;-)

Regards,
Michael




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2128EDF2-39D7-4FF4-92AB-9F36FA4CAAC5>