From owner-freebsd-questions@FreeBSD.ORG Tue Jan 31 11:32:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E587A106566C for ; Tue, 31 Jan 2012 11:32:30 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 79E278FC0A for ; Tue, 31 Jan 2012 11:32:30 +0000 (UTC) Received: by wgbdq11 with SMTP id dq11so155599wgb.31 for ; Tue, 31 Jan 2012 03:32:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ze45u6YwXJExfPpm8WGli6xYwfL2QQNy5ueDQ8/iGLI=; b=TrUvOD0EXuL5iV15htMpfT/oRypnZQNBTakEf+0LXgFJ04UYOJW9aBHujA9PEnIXvQ tYVKZpW8Luq31P+R7WvKooPkSy14C6CVUS3v3WLdijwO6ZAAR6ZNNy/lfnZbyZ5Dhrz/ JU6EJRNJtZnTqmxBkEil+H0e8jpnn4qqKlEWk= MIME-Version: 1.0 Received: by 10.180.24.105 with SMTP id t9mr33700540wif.19.1328009549368; Tue, 31 Jan 2012 03:32:29 -0800 (PST) Sender: vrwmiller@gmail.com Received: by 10.227.143.140 with HTTP; Tue, 31 Jan 2012 03:32:29 -0800 (PST) In-Reply-To: References: Date: Tue, 31 Jan 2012 06:32:29 -0500 X-Google-Sender-Auth: kbeYenBO41p_Rn6Ni6rGZB2P1cE Message-ID: From: Rick Miller To: Rob Farmer Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: make release custom kernel conf not found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2012 11:32:31 -0000 Thanks Rob and Lowell, I will keep this information handy. It was helpful. On Tue, Jan 31, 2012 at 4:22 AM, Rob Farmer wrot= e: > On Mon, Jan 30, 2012 at 10:39 AM, Rick Miller = wrote: >> Thanks Rob... >> >> I put the kernel conf file in the source tree as opposed to linking to >> it and it certainly did compile the custom kernel. >> >> What confuses me (not that I expect you to have the answer) is that >> Chapter 9 of the handbook has a tip that recommends keeping the kernel >> config in /root/kernels and symlinking to it from the source tree. =A0If >> it doesn't work, why is there a tip recommending this practice? >> > > I think the idea is to avoid accidentally deleting it - sometimes > people who get weird build errors are told to delete /usr/src and > /usr/obj, to make sure everything is in a consistent state. > > The symlink will work fine for normal builds, which is what the > handbook covers, but the release building process installs a new copy > of the base system and then runs within it, to try and ensure a > completely stock environment. Any changes you made to the main system > (make.conf, custom kernels, etc.) are intentionally ignored. As Lowell > points out, the "right" way to do this is make either a patch or a > script to add your changes and have the release framework apply it. > Copying it in is the quick and dirty fix. > > -- > Rob Farmer --=20 Take care Rick Miller