From owner-freebsd-ports@FreeBSD.ORG Wed Nov 13 11:34:05 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A6BE8BE1 for ; Wed, 13 Nov 2013 11:34:05 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 734A02970 for ; Wed, 13 Nov 2013 11:34:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rADBY5pD054985 for ; Wed, 13 Nov 2013 11:34:05 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rADBY4jP054984 for freebsd-ports@freebsd.org; Wed, 13 Nov 2013 11:34:04 GMT (envelope-from bdrewery) Received: (qmail 89155 invoked from network); 13 Nov 2013 05:34:03 -0600 Received: from unknown (HELO ?10.10.0.24?) (freebsd@shatow.net@10.10.0.24) by sweb.xzibition.com with ESMTPA; 13 Nov 2013 05:34:03 -0600 Message-ID: <5283639F.4050404@FreeBSD.org> Date: Wed, 13 Nov 2013 05:33:51 -0600 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Beeblebrox , freebsd-ports@freebsd.org Subject: Re: Poudriere: Null-mount existing /usr/src folder for "kernel sources" References: <1384331140992-5860808.post@n5.nabble.com> In-Reply-To: <1384331140992-5860808.post@n5.nabble.com> X-Enigmail-Version: 1.6 OpenPGP: id=6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="11nUKqCUS4TjWxNnADAA0BheevhuSwXIo" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2013 11:34:05 -0000 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--