archboot/usr/lib/initcpio/install/archboot_common_modules

28 lines
872 B
Text
Raw Normal View History

#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-2.0-only
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
{
2023-04-26 21:46:21 +02:00
### add pcspkr
add_module pcspkr
2023-04-26 07:30:41 +02:00
### add init modules
2023-05-01 22:01:55 +02:00
map add_module zram? btrfs? zstd? libcrc32c?
### keyboard modules
2023-05-02 14:44:06 +02:00
add_all_modules -f '_cs|ssb-hcd' '/usb/host'
2023-05-05 21:17:45 +02:00
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
2023-09-01 14:56:47 +02:00
add_all_modules -f 'parkbd' '/input/serio|mouse|keyboard/(applespi|atkbd)'
2023-05-02 10:43:36 +02:00
add_all_modules -f '9pnet|bluetooth|fs' 'virtio'
}
help ()
{
cat <<HELPEOF
2023-05-07 22:20:55 +02:00
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: