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.

Follow cilium/little-vm-helper#120 (comment)

Suggested-by: Kornilios Kourtis <[email protected]>
Signed-off-by: Tobias Klauser <[email protected]>
  • Loading branch information
tklauser authored and kkourt committed Dec 1, 2023
1 parent 1cc45f4 commit 87527b9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/buildx.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# build images GH actions pipeline
#
# On every PR, we want to build images and tag them appropriately.
# As the images are build, we push commits to the PR that:
# As the images are built, we push commits to the PR that:
# - update the dockerfile args with the new tags
# - save the new tags under versions/
name: buildx-images
Expand Down
6 changes: 6 additions & 0 deletions _data/kernels.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,25 @@
"common_opts": [
[ "--disable", "CONFIG_AGP" ],
[ "--disable", "CONFIG_CFG80211" ],
[ "--disable", "CONFIG_DMADEVICES" ],
[ "--disable", "CONFIG_DRM" ],
[ "--disable", "CONFIG_GPU" ],
[ "--disable", "CONFIG_HID" ],
[ "--disable", "CONFIG_I2C" ],
[ "--disable", "CONFIG_ISO9669_FS" ],
[ "--disable", "CONFIG_LUSTRE_FS" ],
[ "--disable", "CONFIG_MACINTOSH_DRIVERS" ],
[ "--disable", "CONFIG_MD" ],
[ "--disable", "CONFIG_PCMCIA" ],
[ "--disable", "CONFIG_RFKILL" ],
[ "--disable", "CONFIG_SOUND" ],
[ "--disable", "CONFIG_SYSTEM_REVOCATION_KEYS" ],
[ "--disable", "CONFIG_SYSTEM_TRUSTED_KEYS" ],
[ "--disable", "CONFIG_THERMAL" ],
[ "--disable", "CONFIG_USB_SUPPORT" ],
[ "--disable", "CONFIG_USB" ],
[ "--disable", "CONFIG_WERROR" ],
[ "--disable", "CONFIG_WIRELESS" ],
[ "--disable", "CONFIG_WLAN" ],
[ "--enable", "CONFIG_9P_FS" ],
[ "--enable", "CONFIG_BPF_EVENTS" ],
Expand Down

0 comments on commit 87527b9

Please sign in to comment.