From owner-freebsd-questions@FreeBSD.ORG Sat Feb 21 08:07:11 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2227216A4CE for ; Sat, 21 Feb 2004 08:07:11 -0800 (PST) Received: from corb.mc.mpls.visi.com (corb.mc.mpls.visi.com [208.42.156.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C18443D1F for ; Sat, 21 Feb 2004 08:07:11 -0800 (PST) (envelope-from hawkeyd@visi.com) Received: from sheol.localdomain (hawkeyd-fw.dsl.visi.com [208.42.101.193]) by corb.mc.mpls.visi.com (Postfix) with ESMTP id 288F48390 for ; Sat, 21 Feb 2004 10:07:10 -0600 (CST) Received: (from hawkeyd@localhost) by sheol.localdomain (8.11.6p2/8.11.6) id i1LG79P22551 for freebsd-questions@freebsd.org; Sat, 21 Feb 2004 10:07:09 -0600 (CST) (envelope-from hawkeyd) X-Spam-Policy: http://www.visi.com/~hawkeyd/index.html#mail Date: Sat, 21 Feb 2004 10:07:09 -0600 From: D J Hawkey Jr To: questions at FreeBSD Message-ID: <20040221160709.GA22447@sheol.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: Clarification needed on Handbook: Tracking for Multiple Machines X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: hawkeyd@visi.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2004 16:07:11 -0000 Hi all. I recently acquired a laptop whose world and kernel I'd like to have built by a different machine on my LAN. Chapter 21.5 of the current Handbook lays things out pretty well, but I do have a couple of questions before proceeding. The Handbook states: "Finally[,] make sure that /etc/make.conf on all the machines in the build set agrees with the build machine. That means that the build machine must build all the parts of the base system that any machine in the build set is going to install. Also, each build machine should have its kernel name set with KERNCONF in /etc/make.conf, and the build machine should list them all in KERNCONF, listing its own kernel first. The build machine must have the kernel configuration files for each machine in /usr/src/sys/arch/conf if it is going to build their kernels." So, two machines use the same world, except that a laptop doesn't want profiled libraries or games. Since the install is separate from the build, the build machine's make.conf must _not_ define NOPROFILE nor NOGAMES, but the laptop's make.conf _must_ define NOPROFILE and NOGAMES, such that both are present when `make installworld` is run on the machine that wants them, but they won't be installed when `make installworld` is run on the laptop, right? Second, two machines are of the same architecture, but they have different CPUs: One is an Intel PIII, but the other is a PII. Will the world built on a PIII be correct for a PII? Similarly, will the kernel for the PII built on a PIII be correct for the PII, given the different variables and settings in the two kernel configuration files? Finally, after briefly following the makefile chain, it looks as though what is written for -CURRENT is backward-compatible to 4.5-RELEASE? /etc/defaults/make.conf doesn't mention KERNCONF; /usr/src/Makefile.inc1 does. Since /usr/share/mk/sys.mk sucks in /etc/make.conf, that should propogate KERNCONF to /usr/src/Makefile, right? Thanks, Dave -- ______________________ ______________________ \__________________ \ D. J. HAWKEY JR. / __________________/ \________________/\ hawkeyd@visi.com /\________________/ http://www.visi.com/~hawkeyd/