cd91ad28b0
On machines with common graphics chipsets (radeon, intel, nvidia), enable KMS early. Downloading images from a remote server can take time, better view the status with a nice resolution.
15 lines
314 B
Bash
15 lines
314 B
Bash
#!/bin/bash
|
|
|
|
build() {
|
|
MODULES="radeon nouveau i915 via-agp sis-agp intel-agp"
|
|
if [[ $(uname -m) == i686 ]]; then
|
|
MODULES+=" amd64-agp ati-agp sworks-agp ali-agp amd-k7-agp nvidia-agp efficeon-agp"
|
|
fi
|
|
}
|
|
|
|
help() {
|
|
cat << HELPEOF
|
|
Adds all common KMS drivers to the initramfs image.
|
|
HELPEOF
|
|
}
|