Bug 214160

Summary: ports-mgmt/poudriere: ignore correct OPTIONS-dir while run with 'options;
Product: Ports & Packages Reporter: Dima Panov <fluffy>
Component: Individual Port(s)Assignee: Bryan Drewery <bdrewery>
Status: New ---    
Severity: Affects Many People Flags: bugzilla: maintainer-feedback? (bdrewery)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Allow 'poudriere options' take a right OPTIONS-dir none

Description Dima Panov freebsd_committer 2016-11-03 10:18:14 UTC
Both poudriere and poudriere-devel releases ignores right OPTIONS-dir while running 'poudriere options', always use <jailname>-options instead of <jailname>-<portstree>-options.

As example, I have 

11amd64-default-options
11amd64-kf5-options

but 'poudriere options -j11amd64 -p kf5 devel/py-qt4' always operate only with common dir, 

11amd64-options



Meanwhile, 'poudriere bulk' hooks up th right OPTIONS-dir:
[00:00:01] ====>> Mounting packages from: /usr/local/poudriere/data/packages/11amd64-kf5
[00:00:01] ====>> Copying /var/db/ports from: /usr/local/etc/poudriere.d/11amd64-kf5-options
[00:00:01] ====>> Appending to make.conf: /usr/local/etc/poudriere.d/make.conf
[00:00:01] ====>> Appending to make.conf: /usr/local/etc/poudriere.d/11amd64-kf5-make.conf
Comment 1 Dima Panov freebsd_committer 2016-11-03 10:34:57 UTC
Created attachment 176587 [details]
Allow 'poudriere options' take a right OPTIONS-dir