mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
initrd/bin/config-gui.sh: remove check for CONFIG_SUPPORT_USB_KEYBOARD since usbhid.ko packed for all boards. Menu now permits turning on keyboard from internal, non-usb keyboard or force support through CONFIG_USB_KEYBOARD_REQUIRED=y under board configs
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
This commit is contained in:
parent
ade5ef1286
commit
6e0edcbce6
@ -71,12 +71,10 @@ while true; do
|
||||
)
|
||||
|
||||
# Boards with built-in keyboards can support optional USB keyboards as well.
|
||||
# Export CONFIG_SUPPORT_USB_KEYBOARD=y to enable optional support.
|
||||
# Boards that do not have a built-in keyboard export
|
||||
# Boards that do not have a built-in keyboard/internal keyboard is USB connected export
|
||||
# CONFIG_USB_KEYBOARD_REQUIRED=y; this hides the config option and ensures
|
||||
# USB keyboard support always loads.
|
||||
[ "$CONFIG_SUPPORT_USB_KEYBOARD" = y ] && [ "$CONFIG_USB_KEYBOARD_REQUIRED" != y ] \
|
||||
&& dynamic_config_options+=(
|
||||
[ "$CONFIG_USB_KEYBOARD_REQUIRED" != y ] && dynamic_config_options+=(
|
||||
'K' " $(get_config_display_action "$CONFIG_USER_USB_KEYBOARD") USB keyboard"
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user