Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2002 20:29:00 +0000
From:      Daniel Bye <dan@slightlystrange.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: kernel build procedure does not update kernel
Message-ID:  <20020321202900.GA2334@icarus.slightlystrange.org>
In-Reply-To: <200203212015.g2LKFj705253@lv.raad.tartu.ee>
References:  <200203212015.g2LKFj705253@lv.raad.tartu.ee>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 21, 2002 at 10:10:20PM +0200, Toomas Aas wrote:
> Hello!
> 
> I'm in a process of patching some 4.4-RELEASE machines for recent zlib 
> security advisory. I downloaded and applied the patch, rebuilt the 
> /usr/src/lib/libz part and then went through the usual procedure of:
> 
> cd /usr/src/sys/i386/conf
> /usr/sbin/config -r MYKERNEL
                   ^^

Use config -r to remove the previous build tree first - all the object files
still exist, and make simply skips them, thinking it has nothing to do.


> cd ../../compile/MYKERNEL
> make depend
> make
> make install
> 
[---snip---]
> 
> On one machine I did 'rm -Rf /usr/src/sys/compile/MYKERNEL' and rebuilt 
> the kernel once more, and there uname -a says the "right" thing: 
> FreeBSD 4.4-RELEASE #0: Thu Mar 21 22:04:04 EET 2002
> 

This has the same effect as config -r CONFIGNAME




HTH,

Dan

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?20020321202900.GA2334>