diff options
author | brian <brian@FreeBSD.org> | 2001-10-17 13:57:32 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-10-17 13:57:32 +0000 |
commit | 2ea42ac6d9b6329b62a1494c24cb0956bc2c5842 (patch) | |
tree | f5e12300c1d2533cec452e83468c1d058a8b1149 /sys/conf/Makefile.i386 | |
parent | 4d4ca06f782fea37645a828373b3793563396c23 (diff) | |
download | FreeBSD-src-2ea42ac6d9b6329b62a1494c24cb0956bc2c5842.zip FreeBSD-src-2ea42ac6d9b6329b62a1494c24cb0956bc2c5842.tar.gz |
Change kern.bootfile when mv'ing the kernel
Diffstat (limited to 'sys/conf/Makefile.i386')
-rw-r--r-- | sys/conf/Makefile.i386 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386 index aea5aff..0d6dcdd 100644 --- a/sys/conf/Makefile.i386 +++ b/sys/conf/Makefile.i386 @@ -238,6 +238,8 @@ kernel-install kernel-install.debug: -rm -rf ${DESTDIR}${KODIR}.old .endif mv ${DESTDIR}${KODIR} ${DESTDIR}${KODIR}.old + [ "`sysctl -n kern.bootfile`" != "${DESTDIR}${KODIR}/kernel" ] || \ + sysctl kern.bootfile=${DESTDIR}${KODIR}.old/kernel .endif mkdir -p ${DESTDIR}${KODIR} install -c -m 555 -o root -g wheel \ |