mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00:37 +02:00
27 lines
876 B
Bash
27 lines
876 B
Bash
#!/usr/bin/env bash
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
build ()
|
|
{
|
|
### add pcspkr
|
|
add_module "pcspkr"
|
|
### add init modules
|
|
map add_module zram? btrfs? zstd? libcrc32c?
|
|
### keyboard modules
|
|
add_all_modules -f '_cs|ssb-hcd' '/usb/host'
|
|
add_all_modules '/hid/hid-(alps|apple|asus|belkin|cherry|chicony|corsair|elan|hyperv|kensignton|lenovo|logitech|magicmouse|microsoft|razer|redragon|roccat|samsung|sony|speedlink|steelseries)'
|
|
add_module 'usbhid'
|
|
add_all_modules -f 'parkbd' '/input/serio|mouse|keyboard/(applespi|atkbd)'
|
|
add_all_modules -f '9pnet|bluetooth|fs' 'virtio'
|
|
}
|
|
|
|
help ()
|
|
{
|
|
cat <<HELPEOF
|
|
This hook includes init, keyboard and pcspkr support
|
|
for an archboot image.
|
|
DO NOT remove this one unless you know what you're doing.
|
|
HELPEOF
|
|
}
|
|
# vim: set ft=sh ts=4 sw=4 et:
|