diff options
author | Thomas Bächler <thomas@archlinux.org> | 2011-11-29 13:26:13 +0100 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2011-11-29 09:53:22 -0300 |
commit | cd91ad28b04dd5f07f5f6cc0b3b59f92d902326d (patch) | |
tree | 83abcf7225ae56e8a77c8d6bbda4aa82268065af /archiso/install | |
parent | f3a3526ab01ceea9cf84828c44a718a46f6311ee (diff) | |
download | archiso32-cd91ad28b04dd5f07f5f6cc0b3b59f92d902326d.tar.xz |
Add common KMS modules to the releng initramfs image.
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.
Diffstat (limited to 'archiso/install')
-rw-r--r-- | archiso/install/archiso_kms | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/archiso/install/archiso_kms b/archiso/install/archiso_kms new file mode 100644 index 0000000..6566049 --- /dev/null +++ b/archiso/install/archiso_kms @@ -0,0 +1,14 @@ +#!/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 +} |