aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2014-12-29 22:32:39 +0000
committerGlen Barber <gjb@FreeBSD.org>2014-12-29 22:32:39 +0000
commit7bcc84a28ce50f553a63dbe3cc8d8a9ebd53b9b9 (patch)
treea98bdc719864b69d1a05a02bc7d518417329fe5d /release/Makefile
parent5e4517a4488d9f01a9c5122beceb64d121ef57e3 (diff)
downloadsrc-7bcc84a28ce50f553a63dbe3cc8d8a9ebd53b9b9.tar.gz
src-7bcc84a28ce50f553a63dbe3cc8d8a9ebd53b9b9.zip
Delay dropping to the mountroot prompt for 10 seconds
in case the root device is not yet ready. Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=276383
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 6d9b5e2639d6..c09081a0cfce 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -201,6 +201,7 @@ system: packagesystem
echo sendmail_enable=\"NONE\" > release/etc/rc.conf
echo hostid_enable=\"NO\" >> release/etc/rc.conf
echo debug.witness.trace=0 >> release/etc/sysctl.conf
+ echo kern.cam.boot_delay=\"10000\" >> release/boot/loader.conf
cp ${.CURDIR}/rc.local release/etc
touch ${.TARGET}
@@ -226,6 +227,7 @@ bootonly: packagesystem
echo sendmail_enable=\"NONE\" > bootonly/etc/rc.conf
echo hostid_enable=\"NO\" >> bootonly/etc/rc.conf
echo debug.witness.trace=0 >> bootonly/etc/sysctl.conf
+ echo kern.cam.boot_delay=\"10000\" >> bootonly/boot/loader.conf
cp ${.CURDIR}/rc.local bootonly/etc
dvd:
@@ -248,6 +250,7 @@ dvd:
echo sendmail_enable=\"NONE\" > ${.TARGET}/etc/rc.conf
echo hostid_enable=\"NO\" >> ${.TARGET}/etc/rc.conf
echo debug.witness.trace=0 >> ${.TARGET}/etc/sysctl.conf
+ echo kern.cam.boot_delay=\"10000\" >> ${.TARGET}/boot/loader.conf
cp ${.CURDIR}/rc.local ${.TARGET}/etc
touch ${.TARGET}