Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2001 22:50:11 +0200
From:      Alfatrion <alfatrion@cybertron.tmfweb.nl>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        legg@iastate.edu, freebsd-questions@FreeBSD.ORG
Subject:   Re: Upgrading to 4.4
Message-ID:  <3BCB4C03.8060307@cybertron.tmfweb.nl>
References:  <20011015130822.B6151@xor.obsecurity.org> <Pine.OSF.3.95.1011015151211.25321B-100000@isua4.iastate.edu> <20011015131629.A7243@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway wrote:

> On Mon, Oct 15, 2001 at 03:13:48PM -0500, legg@iastate.edu wrote:
> 
>>Actually I read the online documentation when in /stand/sysinstall/
>>
> 
> I don't think that's the documentation I'm talking about.
> 
> See the handbook and FAQ on http://www.freebsd.org.
> 
> Kris
> 

Please be advised that you must make special care that the cvsup you use 
doen't contain flaw some time discovered on 4.3 and prior systems. 
Because of this i have choicen to update with the iso (cd image) provided.

I made the folowing shripts to assist me. Which i call in turn. In 
betain certain check can be performed.

Please don't call these schipts without reading the manual about what to 
do manual. (How to cvsup & build world)

$ cvs.sh &
$ build.sh &
$ shutdown &
$ install.sh &
$ mergemaster (no &)

 > cat cvs.sh
#!/bin/sh

cvs="/home/alex/cvs/"
logfile="/root/cvs.log"
errfile="/root/cvs.err"
supfile="/root/supfile"
date=`date +'%b %d %k:%M:%S'`

/usr/local/bin/cvsup /root/supfile > $logfile 2> $errfile

(       echo 'cvs cycle compleet op CTR-NAME'
         echo 'Zie de logfiles voor meer info'
         echo 'logfile:  ' $logfile
         echo 'errfile:  ' $errfile
         echo 'start:    ' $date
         date=`date +'%b %d %k:%M:%S'`
         echo 'stop:     ' $date
) | mail -s 'cvs CTR-NAME' your email@address.com

 > cat build.sh
#!/bin/sh

logfile="/root/build.log"
errfile="/root/build.err"
date=`date +'%b %d %k:%M:%S'`

cd /usr/src
rm -rf /usr/obj/*
make buildworld > $logfile 2> $errfile
make buildkernel KERNCONF=CTR-NAME >> $logfile 2i>> $errfile

(       echo 'build cycle compleet op CTR-NAME'
         echo 'Zie de logfiles voor meer info'
         echo 'logfile:  ' $logfile
         echo 'errfile:  ' $errfile
         echo 'start:    ' $date
         date=`date +'%b %d %k:%M:%S'`
         echo 'stop:     ' $date
) | mail -s 'build CTR-NAME' email@address.com

 > cat install.sh
logfile=/root/install.log
errfile=/root/install.err
date=`date +'%b %d %k:%M:%S'`

cd /usr/src
make installkernel KERNCONF=CTR-NAME > $logfile 1> $errfile
make installworld >> $logfile 1>> $errfile
cp -Rp /etc /etc.old
mergemaster -ai >> $logfile 1>> $errfile
cd /usr/src/release/sysinstall
make all install

(       echo 'install cycle compleet op UNICRON'
         echo 'Zie de logfiles voor meer info'
         echo 'logfile:  ' $logfile
         echo 'errfile:  ' $errfile
         echo 'start:    ' $date
         date=`date +'%b %d %k:%M:%S'`
         echo 'stop:     ' $date
) | mail -s 'build CTR-NAME' email@address.com
reboot

 > call mergemaster here!!!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BCB4C03.8060307>