archiso_kms 579 Bytes
Newer Older
1
2
3
#!/bin/bash

build() {
4
    add_module "amdgpu"
5
6
7
    add_module "radeon"
    add_module "nouveau"
    add_module "i915"
8
    add_module "mgag200"
9
10
11
12
    add_module "via-agp"
    add_module "sis-agp"
    add_module "intel-agp"

13
    if [[ $(uname -m) == i686 ]]; then
14
15
16
17
18
19
20
        add_module "amd64-agp"
        add_module "ati-agp"
        add_module "sworks-agp"
        add_module "ali-agp"
        add_module "amd-k7-agp"
        add_module "nvidia-agp"
        add_module "efficeon-agp"
21
22
23
24
25
26
27
28
    fi
}

help() {
    cat << HELPEOF
Adds all common KMS drivers to the initramfs image.
HELPEOF
}