summaryrefslogtreecommitdiff
path: root/archiso/install/archiso_kms
blob: 3ff31f32ea4cf38889f450862d3dc8507621e726 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash

build() {
    add_module "radeon"
    add_module "nouveau"
    add_module "i915"
    add_module "via-agp"
    add_module "sis-agp"
    add_module "intel-agp"

    if [[ $(uname -m) == i686 ]]; then
        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"
    fi
}

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