From owner-freebsd-stable@FreeBSD.ORG Sun Sep 21 08:31:20 2003 Return-Path: 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 BAC8016A4B3 for ; Sun, 21 Sep 2003 08:31:20 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECC3643F3F for ; Sun, 21 Sep 2003 08:31:19 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by rutger.owt.com (8.11.6p2/8.9.3) with ESMTP id h8LFVIw25381; Sun, 21 Sep 2003 08:31:18 -0700 From: Kent Stewart To: Claus Guttesen , stable@freebsd.org Date: Sun, 21 Sep 2003 08:31:03 -0700 User-Agent: KMail/1.5.3 References: <20030921120224.17871.qmail@web14101.mail.yahoo.com> In-Reply-To: <20030921120224.17871.qmail@web14101.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200309210831.03058.kstewart@owt.com> Subject: Re: upgrading X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2003 15:31:20 -0000 On Sunday 21 September 2003 05:02 am, Claus Guttesen wrote: > Hi. > > > One tip that's pretty useful is to stick the > > 'KERNCONF=MILOWARE' bit > > into your /etc/make.conf file. That way you > > don't need to keep typing it on the command > > line. > > Very usefull, I often (mis)spell COMPAQ with COMPQ and > it goes on building GENERIC instead. Thanks. I use a script because of the tee. The script looks like # cat inkernel #! /bin/sh cd /usr/src make installkernel KERNCONF=TOPAZ 2>&1 | tee /var/log/build/ikernel-`date "+%Y%m%d-%H%M"`.log The make line is all 1 line but kmail is folding it. I have one for mkworld, mkkernel, inkernel, and inworld. I figured that mistyping a script name was immediately noticeable and nothing would start until I corrected my mistake. I added the ../build directory to /var/log and log the entire update process. It is a 1.5 GB fs and I have to clean up once in awhile. Since they accumulate, you can see how far along the build is by adding aliases that look like alias llbk 'll /var/log/build/bk*' alias llbw 'll /var/log/build/bw*' Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html