Also move /var/db/kvm_kernel.db to /var/db/kvm_kernel.old.db IF we change

sysctl kern.bootfile - since libkvm expects it there.
This commit is contained in:
Peter Wemm 1996-01-08 03:55:36 +00:00
parent 79769a745d
commit 0f7183ad60
3 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
# $Id: Makefile.i386,v 1.73 1996/01/05 18:30:10 wollman Exp $
# $Id: Makefile.i386,v 1.74 1996/01/07 22:31:27 phk Exp $
#
# Makefile for FreeBSD
#
@ -157,6 +157,7 @@ install:
mv /kernel /kernel.old
if [ `sysctl -n kern.bootfile` = "/kernel" ] ; then \
sysctl -w kern.bootfile=/kernel.old ; \
mv -f /var/db/kvm_kernel.db /var/db/kvm_kernel.old.db ; \
fi
install -c -m 555 -o root -g wheel -fschg kernel /

View File

@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
# $Id: Makefile.i386,v 1.73 1996/01/05 18:30:10 wollman Exp $
# $Id: Makefile.i386,v 1.74 1996/01/07 22:31:27 phk Exp $
#
# Makefile for FreeBSD
#
@ -157,6 +157,7 @@ install:
mv /kernel /kernel.old
if [ `sysctl -n kern.bootfile` = "/kernel" ] ; then \
sysctl -w kern.bootfile=/kernel.old ; \
mv -f /var/db/kvm_kernel.db /var/db/kvm_kernel.old.db ; \
fi
install -c -m 555 -o root -g wheel -fschg kernel /

View File

@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
# $Id: Makefile.i386,v 1.73 1996/01/05 18:30:10 wollman Exp $
# $Id: Makefile.i386,v 1.74 1996/01/07 22:31:27 phk Exp $
#
# Makefile for FreeBSD
#
@ -157,6 +157,7 @@ install:
mv /kernel /kernel.old
if [ `sysctl -n kern.bootfile` = "/kernel" ] ; then \
sysctl -w kern.bootfile=/kernel.old ; \
mv -f /var/db/kvm_kernel.db /var/db/kvm_kernel.old.db ; \
fi
install -c -m 555 -o root -g wheel -fschg kernel /