Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 2017 18:41:53 +0100
From:      "Vlad K." <vlad-fbsd@acheronmedia.com>
To:        Freebsd Ports <freebsd-ports@freebsd.org>
Subject:   Heads up: Poudriere changed default options dir
Message-ID:  <30378a477eb015517418e98cda669dc3@acheronmedia.com>

next in thread | raw e-mail | index | archive | help

List,

before 3.2.0 Poudriere defined PORT_DBDIR with only 
<jailname>-<setname>-options, which was apparently a bug. Now (in 3.2.0) 
it honors -p option in the options command and includes ports tree name 
(given to -p) in PORT_DBDIR.

In other words, if -p is given, it will be included in PORT_DBDIR. If 
it's not, then nothing's changed.

The result of that is that it will mkdir 
<jailname>-<treename>-<setname>-options, which has higher priority than 
<jailname>-<setname>-options, so if you have the options dir created 
from before, named only <jailname>-options (or 
<jailname>-<setname>-options), it will now be overriden by the new 
(correct) scheme.

This is important in my case, because when I first ran poudriere options 
many lunar orbits ago, it created <jailname>-options, and 
<jailname>-<setname>-options, and it remained like that as I don't have 
more than one tree (but do have several jails and sets). So now it 
"broke" my set up (which I suppose should be said it fixed a bug and my 
setup was broken from before).

The fix was simply to rename the old <jailname>-options dir I had to 
<jailname>-default-options (as "default" is my ports tree name), and 
likewise for each set I use.

Sorry if this was mentioned before, though I found no public 
announcement of this change. Thought it was important enough to mention 
it, so here.



-- 
Vlad K.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?30378a477eb015517418e98cda669dc3>