kconfig check: Add USB gadget check to community

Make sure that we disable legacy gadgets like USB_ETH. Our initramfs
uses configfs gadgets instead, currently RNDIS for USB networking.

In the future this can be expanded to more options like mass storage,
MIDI or whatever we're going to integrate into the OS that can be
configured by the user.

Reviewed-by: Oliver Smith <ollieparanoid@postmarketos.org>
Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230423163438.746054-1-luca@z3ntu.xyz%3E
This commit is contained in:
Luca Weiss 2023-04-23 18:34:39 +02:00 committed by Oliver Smith
parent 204419fe49
commit d200414d87
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 15 additions and 0 deletions

View file

@ -199,6 +199,7 @@ def check_config(config_path, config_arch, pkgver, components_list=[],
"iwd",
"netboot",
"nftables",
"usb_gadgets",
"waydroid",
"wireguard",
"zram",