Disable kernels_autodetect on installation media
This feature is disabled on install media as these generally won't have any interesting kernels to be listed other than the default kernel, so the potential performance penalty in these situations likely isn't worth it. Approved by: re (kib)
This commit is contained in:
parent
bd1aea73ee
commit
f87721a388
@ -212,6 +212,7 @@ disc1: packagesystem
|
||||
echo hostid_enable=\"NO\" >> ${.TARGET}/etc/rc.conf
|
||||
echo debug.witness.trace=0 >> ${.TARGET}/etc/sysctl.conf
|
||||
echo vfs.mountroot.timeout=\"10\" >> ${.TARGET}/boot/loader.conf
|
||||
echo kernels_autodetect=\"NO\" >> ${.TARGET}/boot/loader.conf
|
||||
cp ${.CURDIR}/rc.local ${.TARGET}/etc
|
||||
touch ${.TARGET}
|
||||
|
||||
@ -239,6 +240,7 @@ bootonly: packagesystem
|
||||
echo hostid_enable=\"NO\" >> ${.TARGET}/etc/rc.conf
|
||||
echo debug.witness.trace=0 >> ${.TARGET}/etc/sysctl.conf
|
||||
echo vfs.mountroot.timeout=\"10\" >> ${.TARGET}/boot/loader.conf
|
||||
echo kernels_autodetect=\"NO\" >> ${.TARGET}/boot/loader.conf
|
||||
cp ${.CURDIR}/rc.local ${.TARGET}/etc
|
||||
|
||||
dvd: packagesystem
|
||||
@ -263,6 +265,7 @@ dvd: packagesystem
|
||||
echo hostid_enable=\"NO\" >> ${.TARGET}/etc/rc.conf
|
||||
echo debug.witness.trace=0 >> ${.TARGET}/etc/sysctl.conf
|
||||
echo vfs.mountroot.timeout=\"10\" >> ${.TARGET}/boot/loader.conf
|
||||
echo kernels_autodetect=\"NO\" >> ${.TARGET}/boot/loader.conf
|
||||
cp ${.CURDIR}/rc.local ${.TARGET}/etc
|
||||
touch ${.TARGET}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user