diff options
author | Brian Somers <brian@FreeBSD.org> | 2001-10-17 18:04:13 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2001-10-17 18:04:13 +0000 |
commit | 9082264160f2b068718592bfd97e86af60a9bf2e (patch) | |
tree | a9afe3ff22d704b056856948ef89446379fb3ed0 /sys/conf/Makefile.pc98 | |
parent | 65ad7c437d3b741769eca9fc3971d3a3104dfc4d (diff) |
Change kern.bootfile when mv'ing the kernel
Not tested by: brian
Notes
Notes:
svn path=/head/; revision=85073
Diffstat (limited to 'sys/conf/Makefile.pc98')
-rw-r--r-- | sys/conf/Makefile.pc98 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/conf/Makefile.pc98 b/sys/conf/Makefile.pc98 index d082fa6413c7..620c16a1538e 100644 --- a/sys/conf/Makefile.pc98 +++ b/sys/conf/Makefile.pc98 @@ -241,6 +241,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 \ |