Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Apr 2005 18:29:03 +0200
From:      Marc Olzheim <marcolz@stack.nl>
To:        Steve Ames <steve@energistic.com>
Cc:        Eric Anderson <anderson@centtech.com>
Subject:   Re: kernel.old not used any longer?
Message-ID:  <20050419162903.GA12342@stack.nl>
In-Reply-To: <20050419160623.GA2922@energistic.com>
References:  <200504191530.j3JFUvWD030545@energistic.com> <42652533.8060106@centtech.com> <001501c544f5$f6fc3fd0$9b00030a@officescape.net> <20050419160623.GA2922@energistic.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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/<kernname> ; 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--



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