install/archiso_kms: add all DRM and AGP modules
This should provide KSM for VirtualBox, VMware and QEMU.
- Add
/drivers/char/agp/
and/drivers/gpu/drm/
instead of hardcoding the module names. - Add modules using
add_checked_modules
to allow filtering it with theautodetect
hook. This allows to use the hook outside of just archiso.
Ideally archiso_kms
should be moved to mkinitcpio. The licenses of the projects differ, but nothing in the file looks eligible for copyright. If relicensing needs to happen, then there are only 4 people that have touched that file and need to agree to it.
Edited by nl6720