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

Bryan Drewery bdrewery at FreeBSD.org
Wed Nov 13 11:34:05 UTC 2013


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 work:
> * fstab file and entry in build-jailname/etc/fstab
> * /etc/fstab.build-jailname on host
> * Adding entry to /usr/local/etc/poudriere.d/jails/build-jailname/fs
> 
> I have not found any possible setting in poudriere.conf for this.
> 
> 
> 
> -----
> FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS


Poudriere already does this by default. It null mounts the jail's
/usr/src into the build jails as read-only.

-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20131113/4a5f60ff/attachment.sig>


More information about the freebsd-ports mailing list