Re: kernel.old not used any longer?

From: Marc Olzheim <marcolz_at_stack.nl>
Date: Tue, 19 Apr 2005 18:29:03 +0200
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

Received on Tue Apr 19 2005 - 14:29:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:32 UTC