From owner-cvs-all Tue Oct 2 10: 6:57 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9B4D237B408; Tue, 2 Oct 2001 10:06:51 -0700 (PDT) Received: (from luigi@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f92H6p087430; Tue, 2 Oct 2001 10:06:51 -0700 (PDT) (envelope-from luigi) Message-Id: <200110021706.f92H6p087430@freefall.freebsd.org> From: Luigi Rizzo Date: Tue, 2 Oct 2001 10:06:51 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/release/picobsd/build picobsd X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG luigi 2001/10/02 10:06:51 PDT Modified files: release/picobsd/build picobsd Log: A somewhat large change of this script. From the user's perspective: * everything is now built outside the source tree (more precisely, in `pwd`/builddir-${name}/ ) except for the kernel config file(s) which still need to be copied into src/sys/i386/conf because of "config" limitations. I am not sure if there is an easy way to get away from this without changing "config" or replicating some part of the source tree. This is really the only change that most users should worry about, but it is a good one. * if you do cross-compiles (using "picobsd --src somedir/src [--init] ... ") then the libraries and include directories etc. are searched/created in "somedir/usr" ; * you can do most things (basically build the kernel and the crunched binary and the filesystem trees) without root privileges. You need privileges to use mdconfig/vnconfig to create the actual MFS and floppy image, unfortunately. * the -v option now prints some diagnostic but does not stop for user input at each step. You need to specify -v -v to have the old behaviour. Internally, the script has been reshuffled quite a bit to support the above features. Many shell variables have been renamed or made local in an effort to avoid undesired side effects. There is a somewhat better error handling in case something goes wrong. Revision Changes Path 1.15 +433 -351 src/release/picobsd/build/picobsd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message