git: installkernel - Fix kernel.old/kernel overwrite

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Sep 6 19:01:05 PDT 2010


commit 8a0aecbc046b7e70ea839a609668157ef9b0382b
Author: Matthew Dillon <dillon at apollo.backplane.com>
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/kern.post.mk |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8a0aecbc046b7e70ea839a609668157ef9b0382b


-- 
DragonFly BSD source repository





More information about the Commits mailing list