index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
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 | 4cbe8f06f3c8d031c2395708c754d1b118715178 (patch) | |
tree | 11a4393adcc6fafcd31910804417575450e5ebae | |
parent | 7a9054d9a4f560179248a6e113244ba16a7dd9f0 (diff) |
-rw-r--r-- | archiso/Makefile | 2 | ||||
-rw-r--r-- | archiso/install/archiso_kms | 14 |
diff --git a/archiso/Makefile b/archiso/Makefile index 11aff53..a073adf 100644 --- a/archiso/Makefile +++ b/archiso/Makefile @@ -26,6 +26,7 @@ install-hooks: install -D -m 644 install/archiso_pxe_nfs $(DESTDIR)/lib/initcpio/install/archiso_pxe_nfs install -D -m 644 hooks/archiso_loop_mnt $(DESTDIR)/lib/initcpio/hooks/archiso_loop_mnt install -D -m 644 install/archiso_loop_mnt $(DESTDIR)/lib/initcpio/install/archiso_loop_mnt + install -D -m 644 install/archiso_kms $(DESTDIR)/lib/initcpio/install/archiso_kms install-examples: # install examples @@ -55,6 +56,7 @@ uninstall: rm -f $(DESTDIR)/lib/initcpio/install/archiso_pxe_nfs rm -f $(DESTDIR)/lib/initcpio/hooks/archiso_loop_mnt rm -f $(DESTDIR)/lib/initcpio/install/archiso_loop_mnt + rm -f $(DESTDIR)/lib/initcpio/install/archiso_kms rm -rf $(DESTDIR)/usr/share/archiso/ .PHONY: install install-program install-hooks install-examples install-doc uninstall 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 +} |