aboutsummaryrefslogtreecommitdiff
path: root/stand/defaults/loader.conf
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2018-10-07 01:53:43 +0000
committerKyle Evans <kevans@FreeBSD.org>2018-10-07 01:53:43 +0000
commit532dc17243aa26dff4439af2983be60c96a7ad18 (patch)
tree45194ebb7a95ceec2900f49ee1e0390b9518b04c /stand/defaults/loader.conf
parentfc3c19a9fceeea48a9259ac3833a125804342c0e (diff)
downloadsrc-532dc17243aa26dff4439af2983be60c96a7ad18.tar.gz
src-532dc17243aa26dff4439af2983be60c96a7ad18.zip
lualoader: Create a module blacklist, add DRM modules to it
This is a step in the process of easing migration into the new world order of DRM drivers. Strongly encourage users towards loading DRM modules via rc.conf(5) instead of loader.conf(5) by failing the load from loader(8). Users so inclined may wipe out the blacklist via module_blacklist="" in loader.conf(5), and it is expected that these modules will eventually be removed from the blacklist. They may still be loaded as dependencies of other modules or explicitly via the loader prompt, but this should not be a major problem. Approved by: re (rgrimes) Relnotes: yes Differential Revision: https://reviews.freebsd.org/D16914
Notes
Notes: svn path=/head/; revision=339218
Diffstat (limited to 'stand/defaults/loader.conf')
-rw-r--r--stand/defaults/loader.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/stand/defaults/loader.conf b/stand/defaults/loader.conf
index 9fe7ecbf1a93..89a86075f3dc 100644
--- a/stand/defaults/loader.conf
+++ b/stand/defaults/loader.conf
@@ -97,6 +97,7 @@ efi_max_resolution="1x1" # Set the max resolution for EFI loader to use:
#console="vidconsole" # A comma separated list of console(s)
#currdev="disk1s1a" # Set the current device
module_path="/boot/modules;/boot/dtb;/boot/dtb/overlays" # Set the module search path
+module_blacklist="drm drm2 radeonkms i915kms amdgpu" # Loader module blacklist
#prompt="\\${interpret}" # Set the command prompt
#root_disk_unit="0" # Force the root disk unit number
#rootdev="disk1s1a" # Set the root filesystem