Re: Poudriere: Null-mount existing /usr/src folder for kernel sources

2013-11-14 Thread Beeblebrox
May I put this in as a feature request then? Something like: /usr/local/etc/poudriere.d/jails/jailname/src Insert folder-path to already existing source files on the system for each build environment into this file. We probably can't use poudriere.conf because we may have more than one src pool

Re: Poudriere: Null-mount existing /usr/src folder for kernel sources

2013-11-13 Thread Bryan Drewery
On 11/13/2013 2:25 AM, Beeblebrox wrote: Some ports require kernel sources to build. On a system that has /usr/src already downloaded, how can one null-mount that folder into poudriere's build environment so that kernel sources are made available for the poudriere jails? These probably won't

Re: Poudriere: Null-mount existing /usr/src folder for kernel sources

2013-11-13 Thread Beeblebrox
Thank you Brian for the answer. The problem is, the data is on host's /usr/src and the jail's /usr/src is empty. If I were to first null-mount host's /usr/src onto jail's /usr/src, I don't suppose poudriere would be able to null-mount a null-mount? -

Re: Poudriere: Null-mount existing /usr/src folder for kernel sources

2013-11-13 Thread Beeblebrox
While the null-mount of /var/db/ports onto /usr/local/etc/poudriere/options gets transferred to the build jails by poudriere, the null-mount of /usr/src onto poudriere-environment/usr/src (as expected) does not get propagated to the build jails. -