mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Change kern.bootfile when mv'ing the kernel
This commit is contained in:
parent
913b0e4e95
commit
82a6d03aa6
1 changed files with 2 additions and 0 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in a new issue