From owner-freebsd-stable Sat Jul 27 22:10:41 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B91137B440 for ; Sat, 27 Jul 2002 22:10:33 -0700 (PDT) Received: from spork.pantherdragon.org (spork.pantherdragon.org [206.29.168.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BB1F43E42 for ; Sat, 27 Jul 2002 22:10:33 -0700 (PDT) (envelope-from dmp@pantherdragon.org) Received: from sparx.pantherdragon.org (evrtwa1-ar10-4-61-236-062.evrtwa1.dsl-verizon.net [4.61.236.62]) by spork.pantherdragon.org (Postfix) with ESMTP id 6D1CE471D8 for ; Sat, 27 Jul 2002 22:10:32 -0700 (PDT) Received: from pantherdragon.org (speck.techno.pagans [172.21.42.2]) by sparx.pantherdragon.org (Postfix) with ESMTP id 29C9DFDA0 for ; Sat, 27 Jul 2002 22:10:31 -0700 (PDT) Message-ID: <3D437CC6.E18C5303@pantherdragon.org> Date: Sat, 27 Jul 2002 22:10:30 -0700 From: Darren Pilgrim X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: Make option to get `make kernel` to install to /kernel.foo? References: <3D436F34.D08857E8@pantherdragon.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Darren Pilgrim wrote: > > I'm working on a checklist for make world, part of which is building > and installing two kernels (GENERIC and a custom) to shorten the amount > of delay (I can build both kernels in parallel) in getting the machine > back online after a buildworld. The idea is to build both, try the > custom kernel first, then fall back to GENERIC, then the old version > kernel. For the GENERIC make kernel instance, what do I add to the > command-line to make make install the kernel as /kernel.GENERIC? Will > "-EKERNEL=/kernel.GENERIC" do it, or do I need to do something like > `KERNEL=/kernel.GENERIC && make kernel ...`? I know I can just add > "kernel=kernel.GENERIC" to /sys/i386/conf/GENERIC, but it creates > another step in the whole process. Okay, neither worked. I had the wrong variable entirely. The correct incantion in this case is: INSTKERNAME="kernel.GENERIC" make kernel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message