From owner-freebsd-current@FreeBSD.ORG Tue Apr 19 16:29:04 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A6BC16A4CE for ; Tue, 19 Apr 2005 16:29:04 +0000 (GMT) Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E8F543D39 for ; Tue, 19 Apr 2005 16:29:04 +0000 (GMT) (envelope-from marcolz@stack.nl) Received: from hammer.stack.nl (hammer.stack.nl [IPv6:2001:610:1108:5010::153]) by mailhost.stack.nl (Postfix) with ESMTP id 86B9D1F102; Tue, 19 Apr 2005 18:29:03 +0200 (CEST) Received: by hammer.stack.nl (Postfix, from userid 333) id 69757615A; Tue, 19 Apr 2005 18:29:03 +0200 (CEST) Date: Tue, 19 Apr 2005 18:29:03 +0200 From: Marc Olzheim To: Steve Ames Message-ID: <20050419162903.GA12342@stack.nl> References: <200504191530.j3JFUvWD030545@energistic.com> <42652533.8060106@centtech.com> <001501c544f5$f6fc3fd0$9b00030a@officescape.net> <20050419160623.GA2922@energistic.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LZvS9be/3tNcYl/X" Content-Disposition: inline In-Reply-To: <20050419160623.GA2922@energistic.com> X-Operating-System: FreeBSD hammer.stack.nl 5.4-STABLE FreeBSD 5.4-STABLE X-URL: http://www.stack.nl/~marcolz/ User-Agent: Mutt/1.5.9i cc: Steve Ames cc: freebsd-current@freebsd.org cc: Eric Anderson Subject: Re: kernel.old not used any longer? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Apr 2005 16:29:04 -0000 --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Apr 19, 2005 at 11:06:23AM -0500, Steve Ames wrote: > No. doing 'make buildkernel' and 'make installkernel' seperately does > not cause /boot/kernel to be copied to /boot/kernel.old. /usr/src/Makefile: kernel: buildkernel installkernel No difference in doing it separately. cd /usr/obj/usr/src/sys/ ; make -n install gives me: ... thiskernel=`sysctl -n kern.bootfile` ; if [ "`dirname "$thiskernel"`" != /boot/kernel ] ; then chflags -R noschg /boot/kernel ; rm -rf /boot/kernel ; else if [ -d /boot/kernel.old ] ; then chflags -R noschg /boot/kernel.old ; rm -rf /boot/kernel.old ; fi ; mv /boot/kernel /boot/kernel.old ; sysctl kern.bootfile=/boot/kernel.old/"`basename "$thiskernel"`" ; fi ... What so you get ? Marc --LZvS9be/3tNcYl/X Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCZTHPezjnobFOgrERAimsAKDKdNSX7FADkR7w6XLSAO6gAPUTMACgnj9j FeeJe6ohCgZILSujKuWz+Aw= =7Wp4 -----END PGP SIGNATURE----- --LZvS9be/3tNcYl/X--