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:
@@ -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 \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user