From 026d3dc8e36b6accfa8c3f115af0f780a704f73f Mon Sep 17 00:00:00 2001 From: Guido van Rooij Date: Mon, 30 Oct 1995 20:20:49 +0000 Subject: [PATCH] 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. --- sys/conf/Makefile.i386 | 3 ++- sys/conf/Makefile.powerpc | 3 ++- sys/i386/conf/Makefile.i386 | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386 index 511c4994394..0203f469417 100644 --- a/sys/conf/Makefile.i386 +++ b/sys/conf/Makefile.i386 @@ -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 \ diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc index 511c4994394..0203f469417 100644 --- a/sys/conf/Makefile.powerpc +++ b/sys/conf/Makefile.powerpc @@ -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 \ diff --git a/sys/i386/conf/Makefile.i386 b/sys/i386/conf/Makefile.i386 index 511c4994394..0203f469417 100644 --- a/sys/i386/conf/Makefile.i386 +++ b/sys/i386/conf/Makefile.i386 @@ -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 \