From owner-freebsd-stable Wed Jun 27 22:55:52 2001 Delivered-To: freebsd-stable@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 6670A37B403 for ; Wed, 27 Jun 2001 22:55:50 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.1) with ESMTP id f5S5tlU00128; Wed, 27 Jun 2001 23:55:48 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200106280555.f5S5tlU00128@harmony.village.org> To: Jamie Norwood Subject: Re: Kernel compilation Cc: freebsd-stable@FreeBSD.ORG In-reply-to: Your message of "Fri, 15 Jun 2001 10:38:20 EDT." <20010615103820.A94093@mushhaven.net> References: <20010615103820.A94093@mushhaven.net> Date: Wed, 27 Jun 2001 23:55:47 -0600 From: Warner Losh Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20010615103820.A94093@mushhaven.net> Jamie Norwood writes: : Is there a way to get the kernel to NOT build every module under the sun? : I prefer my kernels to have in them just what I want them to, not what : something else decides should be there. Yet every kernel I build makes : modules for things like USB, Sound, NICs I don't have... This is annoying : because, for one thing, it slows down compiles immensely. Secondly, it : is, theoretically, possible that some of these things (USB, for example), : may actually exist, thus be installed, and if they have a security problem, : I would be vulnerable with smoething I didn't want in the first place! : : Any suggestions? Looks like I need to MFC MODULES_OVERRIDE from current to stable. In stable your only choice is NO_MODULES which turns them all off. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message