Change kern.bootfile when mv'ing the kernel

This commit is contained in:
Brian Somers 2001-10-17 13:57:32 +00:00
parent 913b0e4e95
commit 82a6d03aa6

View file

@ -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 \