Skip to content

Commit

Permalink
kernels: disable some more options
Browse files Browse the repository at this point in the history
Disable some kernel config options that are not needed in an lvh VM.

Signed-off-by: Tobias Klauser <[email protected]>
  • Loading branch information
tklauser authored and kkourt committed Nov 27, 2023
1 parent 96de861 commit 40a9124
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkg/kernels/conf.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ var ConfigOptGroups = map[string][]ConfigOption{
// NB: is not disabled from the final config
// {"--disable", "CONFIG_CDROM"},
{"--disable", "CONFIG_ISO9669_FS"},
// wireless
{"--disable", "CONFIG_CFG80211"},
{"--disable", "CONFIG_WIRELESS"},
{"--disable", "CONFIG_RFKILL"},
{"--disable", "CONFIG_MACINTOSH_DRIVERS"},
{"--disable", "CONFIG_SOUND"},
Expand All @@ -72,6 +72,11 @@ var ConfigOptGroups = map[string][]ConfigOption{
{"--disable", "CONFIG_USB"},
{"--disable", "CONFIG_WLAN"},
{"--disable", "CONFIG_HID"},
{"--disable", "CONFIG_I2C"},
{"--disable", "CONFIG_PCMCIA"},
{"--disable", "CONFIG_MD"},
{"--disable", "CONFIG_DMADEVICES"},
{"--disable", "CONFIG_THERMAL"},
},
"bpf": []ConfigOption{
{"--enable", "CONFIG_BPF"},
Expand Down

0 comments on commit 40a9124

Please sign in to comment.