git: installkernel - Fix kernel.old/kernel overwrite

Matthew Dillon dillon at
Mon Sep 6 19:01:05 PDT 2010

commit 8a0aecbc046b7e70ea839a609668157ef9b0382b
Author: Matthew Dillon <dillon at>
Date:   Mon Sep 6 18:58:54 2010 -0700

    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.

Summary of changes:
 sys/conf/ |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list