Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F170054514
D58967.id184332.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1006 B
Referenced Files
None
Subscribers
None
D58967.id184332.diff
View Options
diff --git a/tools/tools/nanobsd/defaults.sh b/tools/tools/nanobsd/defaults.sh
--- a/tools/tools/nanobsd/defaults.sh
+++ b/tools/tools/nanobsd/defaults.sh
@@ -80,6 +80,13 @@
# Kernel config file to use
NANO_KERNEL=GENERIC
+#
+# Boot sub-directory containing kernel and modules
+# Custom kernels for pkgbase installations have names like:
+# kernel.GENERIC-MMCCAM or kernel.GENERIC-NODEBUG
+#
+NANO_LOADER_KERNEL="kernel"
+
# Kernel modules to install. If empty, no modules are installed.
# Use "default" to install all built modules
NANO_MODULES=
@@ -1316,6 +1323,9 @@
{
echo
echo '### NanoBSD configuration ##################################'
+ if [ -n "$NANO_LOADER_KERNEL" ]; then
+ echo "kernel=\"${NANO_LOADER_KERNEL}\" # /boot sub-directory containing kernel and modules"
+ fi
echo 'hostuuid_load="NO"'
echo 'entropy_cache_load="NO" # Disable loading cached entropy at boot time.'
echo 'kern.random.initial_seeding.disable_bypass_warnings="1" # Do not log a warning'
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Sep 4, 9:23 AM (16 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36989329
Default Alt Text
D58967.id184332.diff (1006 B)
Attached To
Mode
D58967: nanobsd: Allow overriding kernels in loader.conf
Attached
Detach File
Event Timeline
Log In to Comment