aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2018-10-11 17:18:49 +0000
committerKyle Evans <kevans@FreeBSD.org>2018-10-11 17:18:49 +0000
commit6e49372ee056abf8c1049ed021a481fff530edce (patch)
tree3be89c95dea13e277c8f9bf25078c187b234b766 /release/Makefile
parente0a28d249230d74f0b64a2f61d6846da8e8cfea0 (diff)
downloadsrc-6e49372ee056abf8c1049ed021a481fff530edce.tar.gz
src-6e49372ee056abf8c1049ed021a481fff530edce.zip
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)
Notes
Notes: svn path=/head/; revision=339309
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/release/Makefile b/release/Makefile
index 6eddf11d7231..d563825e2376 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -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}