From owner-freebsd-hackers Mon Mar 9 06:54:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA25117 for freebsd-hackers-outgoing; Mon, 9 Mar 1998 06:54:10 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA25104 for ; Mon, 9 Mar 1998 06:54:04 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id OAA07195 for ; Mon, 9 Mar 1998 14:54:02 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.6/8.8.6) id PAA04907; Mon, 9 Mar 1998 15:54:00 +0100 (MET) Message-ID: <19980309155400.21248@follo.net> Date: Mon, 9 Mar 1998 15:54:00 +0100 From: Eivind Eklund To: hackers@FreeBSD.ORG Subject: Proposed changes the FreeBSD build system Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have lying about (separate) patches to introduce the targets 'regress' and 'testbox' into the FreeBSD buildtree, as well as for doing limited builds (building just parts of the tree, but from all over it). 'regress' is propagated around the source tree, to allow regression tests to be done in place. It comes with an 'LKM' config file for a minimal kernel working with the LKMs, and a system link test for the LKMs. The target assumes the buildtree is already in place. 'testbox' builds a testbox from scratch. It wipes ${TESTDEVICE}, creates a disklabel (with a single filesystem and a swap partition of configurable size), and installs everything necessary to run the machine in a minimal configuration. I use this for doing destructive tests - I just hotswap a harddrive on the unused IDE-bus, wipe it, and boot it in a scratchbox. The target assumes the buildtree is already in place. The limited build patches create a separate directory tree that can be used to limit the SUBDIR variable. A 'logical and' is done between the SUBDIR variable and a config file in the corresponding config file in the limitations tree. All of the above patches are part of my personal FreeBSD-hacking-kit. I can make them ready for prime time with relatively little work, and I think they could be useful to other people, too. Any objections to introducing them? Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message