From owner-freebsd-questions Thu Mar 21 12:29:13 2002 Delivered-To: freebsd-questions@freebsd.org Received: from icarus.slightlystrange.org (icarus.slightlystrange.org [62.190.193.173]) by hub.freebsd.org (Postfix) with ESMTP id 5D0BF37B404 for ; Thu, 21 Mar 2002 12:29:07 -0800 (PST) Received: from danielby by icarus.slightlystrange.org with local (Exim 3.12 #1 (Debian)) id 16o9BE-0000cY-00 for ; Thu, 21 Mar 2002 20:29:00 +0000 Date: Thu, 21 Mar 2002 20:29:00 +0000 From: Daniel Bye To: freebsd-questions@freebsd.org Subject: Re: kernel build procedure does not update kernel Message-ID: <20020321202900.GA2334@icarus.slightlystrange.org> Reply-To: dan@slightlystrange.org Mail-Followup-To: freebsd-questions@freebsd.org References: <200203212015.g2LKFj705253@lv.raad.tartu.ee> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200203212015.g2LKFj705253@lv.raad.tartu.ee> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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