When moving kernel to kernel.old, also change kern.bootfile.to

kernel.old. This is a solution for only the first install
on a running system, but it's better than it is now.
This commit is contained in:
Guido van Rooij
1995-10-30 20:20:49 +00:00
parent 0b8253a746
commit 026d3dc8e3
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
# $Id: Makefile.i386,v 1.66 1995/08/16 16:11:48 bde Exp $
# $Id: Makefile.i386,v 1.67 1995/10/29 11:10:53 davidg Exp $
#
# Makefile for FreeBSD
#
@@ -175,6 +175,7 @@ tags:
install:
chflags noschg /kernel
mv /kernel /kernel.old
sysctl -w kern.bootfile=/kernel.old
install -c -m 555 -o root -g wheel -fschg kernel /
ioconf.o: ioconf.c $S/sys/param.h machine/pte.h $S/sys/buf.h \
+2 -1
View File
@@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
# $Id: Makefile.i386,v 1.66 1995/08/16 16:11:48 bde Exp $
# $Id: Makefile.i386,v 1.67 1995/10/29 11:10:53 davidg Exp $
#
# Makefile for FreeBSD
#
@@ -175,6 +175,7 @@ tags:
install:
chflags noschg /kernel
mv /kernel /kernel.old
sysctl -w kern.bootfile=/kernel.old
install -c -m 555 -o root -g wheel -fschg kernel /
ioconf.o: ioconf.c $S/sys/param.h machine/pte.h $S/sys/buf.h \
+2 -1
View File
@@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
# $Id: Makefile.i386,v 1.66 1995/08/16 16:11:48 bde Exp $
# $Id: Makefile.i386,v 1.67 1995/10/29 11:10:53 davidg Exp $
#
# Makefile for FreeBSD
#
@@ -175,6 +175,7 @@ tags:
install:
chflags noschg /kernel
mv /kernel /kernel.old
sysctl -w kern.bootfile=/kernel.old
install -c -m 555 -o root -g wheel -fschg kernel /
ioconf.o: ioconf.c $S/sys/param.h machine/pte.h $S/sys/buf.h \