kernel.old not used any longer?

Marc Olzheim marcolz at stack.nl
Tue Apr 19 09:29:04 PDT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050419/b67e8c23/attachment.bin


More information about the freebsd-current mailing list