Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 05:33:51 -0600
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Beeblebrox <zaphod@berentweb.com>, freebsd-ports@freebsd.org
Subject:   Re: Poudriere: Null-mount existing /usr/src folder for "kernel sources"
Message-ID:  <5283639F.4050404@FreeBSD.org>
In-Reply-To: <1384331140992-5860808.post@n5.nabble.com>
References:  <1384331140992-5860808.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--11nUKqCUS4TjWxNnADAA0BheevhuSwXIo
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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-moun=
t
> that folder into poudriere's build environment so that kernel sources a=
re
> 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
>=20
> I have not found any possible setting in poudriere.conf for this.
>=20
>=20
>=20
> -----
> 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.

--=20
Regards,
Bryan Drewery


--11nUKqCUS4TjWxNnADAA0BheevhuSwXIo
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSg2OfAAoJEDXXcbtuRpfPMvMH/3bd6MpT3jR+AdrGIY9o2L6h
t8ZTN6Uc7Ag+7ltvt6MGEsrlUz3fgjbiyGAewM85KtRbiskVS2Wt0rd34nNhII5h
V9CVc0VF4ksKKAtTqXaySgooFepVkdopcRc6YzTZ0V2NTAyFvLZfIYtexBJ780nE
yzHKIGkytgu6E4/nwtkhxUB/yJUkOqHZ3yIZcfBZTP5P83QOsKMTRUi9ZBpH6y81
itQU2UVQk3aMD7UkKVRjpfj/g5mzXNLtthXVDaZMXQ2xK+vCHHFe0ELByJM2Fht4
yVd+CgY9+htoSUxzWoYr7EifMQnS/RPauoZSxjtOnBjbPxN57ohspnsRh407tK4=
=5d59
-----END PGP SIGNATURE-----

--11nUKqCUS4TjWxNnADAA0BheevhuSwXIo--



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