summaryrefslogtreecommitdiff
path: root/guest
diff options
context:
space:
mode:
authorPÁLI Gábor János <pali.gabor@gmail.com>2022-02-19 11:12:23 +0100
committerPÁLI Gábor János <pali.gabor@gmail.com>2022-02-19 11:12:23 +0100
commit4cda29a5b8f695a039d91d6e9d4c1fe7aa9cd55f (patch)
tree14784b3412bfcf7ef016808f5674db3397cb9c16 /guest
parent8ae5324f37e5ba3317621e8e479df95bfc198a9a (diff)
downloadfreebsd-wifibox-alpine-4cda29a5b8f695a039d91d6e9d4c1fe7aa9cd55f.zip
Reduce the number of loaded kernel modules.
Diffstat (limited to 'guest')
-rw-r--r--guest/etc/mkinitfs/features.d/base.modules2
-rw-r--r--guest/etc/modprobe.d/wifibox.conf21
2 files changed, 23 insertions, 0 deletions
diff --git a/guest/etc/mkinitfs/features.d/base.modules b/guest/etc/mkinitfs/features.d/base.modules
new file mode 100644
index 0000000..ec440f1
--- /dev/null
+++ b/guest/etc/mkinitfs/features.d/base.modules
@@ -0,0 +1,2 @@
+kernel/drivers/block/loop.ko*
+kernel/fs/overlayfs
diff --git a/guest/etc/modprobe.d/wifibox.conf b/guest/etc/modprobe.d/wifibox.conf
new file mode 100644
index 0000000..1576664
--- /dev/null
+++ b/guest/etc/modprobe.d/wifibox.conf
@@ -0,0 +1,21 @@
+blacklist mousedev
+blacklist psmouse
+blacklist serio_raw
+blacklist pcspkr
+blacklist intel_rapl_msr
+blacklist input_leds
+blacklist rapl
+blacklist simpledrm
+blacklist drm_kms_helper
+blacklist cfbfillrect
+blacklist syscopyarea
+blacklist cfbimgblt
+blacklist sysfillrect
+blacklist sysimgblt
+blacklist fb_sys_fops
+blacklist cfbcopyarea
+blacklist cec
+blacklist drm
+blacklist i2c_core
+blacklist drm_panel_orientation_quirks
+blacklist agpgart