moby: seal the initrd modules to just whats needed

This commit is contained in:
2024-09-27 13:49:08 +00:00
parent 4482414839
commit d74164c455

View File

@@ -120,13 +120,11 @@ in
boot.initrd.availableKernelModules = [
# see <repo:postmarketOS/pmaports:device/community/device-pine64-pinephonepro/modules-initfs>
# - pmos includes: gpu_sched dw_wdt fusb302 panel_himax_hx8394 goodix_ts
# XXX: unsure which of these all are really needed
# "gpu_sched" "dw_wdt" "fusb302" "panel_himax_hx8394" "goodix_ts"
"panel_himax_hx8394"
# these are all required for graphics in the initrd
"panel_himax_hx8394"
"pwm_bl"
# possibly not all of these rockchip ones are required, though
# highly likely, but didn't fully check, that these below are required for initrd graphics
"rockchip_rga"
"rockchip_vdec"
"rockchipdrm"