summaryrefslogtreecommitdiff
path: root/archiso/install/archiso_kms
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-05-16 15:52:55 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-05-19 15:29:17 -0300
commit36e8d6322f02571f86b3beba71a83479bc0467c1 (patch)
treef9355a86b6d3c5a147b11094906e652453194909 /archiso/install/archiso_kms
parentc1ecc9b604b6a192b3d30ebfbea300232c79e8b1 (diff)
downloadarchiso32-36e8d6322f02571f86b3beba71a83479bc0467c1.tar.xz
[archiso] use new mkinitcpio API in hooks
Needs mkinitcpio >= 0.9.0 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso/install/archiso_kms')
-rw-r--r--archiso/install/archiso_kms16
1 files changed, 14 insertions, 2 deletions
diff --git a/archiso/install/archiso_kms b/archiso/install/archiso_kms
index 6566049..3ff31f3 100644
--- a/archiso/install/archiso_kms
+++ b/archiso/install/archiso_kms
@@ -1,9 +1,21 @@
#!/bin/bash
build() {
- MODULES="radeon nouveau i915 via-agp sis-agp intel-agp"
+ 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
- MODULES+=" amd64-agp ati-agp sworks-agp ali-agp amd-k7-agp nvidia-agp efficeon-agp"
+ 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
}