From owner-freebsd-hackers Tue Dec 3 13:16:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E085B37B401; Tue, 3 Dec 2002 13:16:20 -0800 (PST) Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A9C443EAF; Tue, 3 Dec 2002 13:16:20 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0140.cvx22-bradley.dialup.earthlink.net ([209.179.198.140] helo=mindspring.com) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18JKOq-0001iH-00; Tue, 03 Dec 2002 13:16:13 -0800 Message-ID: <3DED1EAD.605D66DF@mindspring.com> Date: Tue, 03 Dec 2002 13:14:21 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: John Baldwin Cc: Oleg Sharoiko , hackers@FreeBSD.ORG, Andrey Beresovsky , Peter Pentchev Subject: Re: Need to override KRNLCONFDIR variable in command line of mak References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG John Baldwin wrote: > I build a custom release at work that uses the a custom kernel by > default on 4.x and make use of LOCAL_PATCHES and KERNELS to accomplish > what I need. I do think I have a local patch that allows you to > specify the kernel config for the "default" kernel, but that it > doesn't apply to 5.x because 5.x does things differently in that > area. 5.x doesn't install a kernel.GENERIC anymore though, which is > a bit disturbing. I have a local 4.x patch, as well. The 5.x stuff screwed up the world when sysinstall was moved, and it's only gotten worse, in that area. The LOCAL_PATCHES and KERNELS, as you've noted by having a local patch (8-)), isn't really sufficient. I don't *WANT* the thing to be named "GENERIC", and even if I wanted that, it's a practical impossibility, because my kernel source tree is checked out seperately from the res of the sources, which are checked out from the FreeBSD CVS tree. The reason is that the kernel is imported into a seperate source tree to support local modifications. This is a workaround to CVSup not supporting the idea of the local copy being placed on a vendor branch... effectively, this means that in order to maintain large local change sets, you have to checkout a FreeBSD version from CVS, check it into your own local repository (losing the history as you do this), and then stabilize it for your application, before making local modifications (if you can't have a vendor branch in your CVSup'ed replica: make one of your own). Basically this means you are well and truly screwed in the build process, if you want to rebuild, if your patches touch any of the standard file names, due to the update process when doing an update and rebuild of the system (you can do it, but expect your cycle time to go from about 1 hour to about 1.5 days, as everything ends up getting rebuilt, instead of just the things that change). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message