installkernel - Fix kernel.old/kernel overwrite
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 7 Sep 2010 01:58:54 +0000 (18:58 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 7 Sep 2010 01:58:54 +0000 (18:58 -0700)
commit8a0aecbc046b7e70ea839a609668157ef9b0382b
tree80fd8ea80ba879f76cd174c849d7209158a1973a
parent4371bb25c4dc6be21df04e7de72b65682ca9f4c4
installkernel - Fix kernel.old/kernel overwrite

* The kernel was being copied to kernel.old/kernel twice, once normally,
  and once (after the new kernel was installed) by the module objcopy.

  This left kernel.old/kernel as the new kernel instead of the old kernel.

* Fix by restricting the module copy to .ko files.
sys/conf/kern.post.mk