tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Detecting binary package build



On Fri, Sep 22, 2017 at 08:07:25PM -0500, Jason Bacon wrote:
> So there's nothing like the FreeBSD ports PACKAGE_BUILDING variable, which
> is automatically set during a binary package build (by poudriere, I
> believe)?

There is BATCH, but it is only detected for disabling unnecessary and
bogus interactivity. It is not supposed to change the content of the
package.

> My hope is to automatically enable DYNAMIC_ARCH by default, without user
> intervention, during a pbulk build, and have it off by default otherwise.  I
> suppose I could set a custom variable for this in pbulk.conf.  I would also
> allow the user to override with an option.

As Tobias said, add an option for using DYNAMIC_ARCH and make it enabled
by default.

Joerg


Home | Main Index | Thread Index | Old Index