Page MenuHomeFreeBSD

D58967.id184332.diff
No OneTemporary

D58967.id184332.diff

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

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)

Event Timeline