From 6369815d5721e2908174d9ddc76bd9ffe32570b4 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Sat, 25 Aug 2012 15:14:51 -0300 Subject: [archiso] Rework Makefile / Reorder files Signed-off-by: Gerardo Exequiel Pozzi --- install/archiso | 22 ++++++++++++++++++++++ install/archiso_kms | 26 ++++++++++++++++++++++++++ install/archiso_loop_mnt | 13 +++++++++++++ install/archiso_pxe_common | 26 ++++++++++++++++++++++++++ install/archiso_pxe_http | 15 +++++++++++++++ install/archiso_pxe_nbd | 17 +++++++++++++++++ install/archiso_pxe_nfs | 17 +++++++++++++++++ install/archiso_shutdown | 20 ++++++++++++++++++++ 8 files changed, 156 insertions(+) create mode 100644 install/archiso create mode 100644 install/archiso_kms create mode 100644 install/archiso_loop_mnt create mode 100644 install/archiso_pxe_common create mode 100644 install/archiso_pxe_http create mode 100644 install/archiso_pxe_nbd create mode 100644 install/archiso_pxe_nfs create mode 100644 install/archiso_shutdown (limited to 'install') diff --git a/install/archiso b/install/archiso new file mode 100644 index 0000000..8893667 --- /dev/null +++ b/install/archiso @@ -0,0 +1,22 @@ +#!/bin/bash + +build() { + add_module "cdrom" + add_module "loop" + add_module "dm-snapshot" + + add_runscript + + add_binary /usr/lib/udev/cdrom_id + add_binary blockdev + add_binary dmsetup + add_binary losetup + add_binary mountpoint + + add_file /usr/lib/udev/rules.d/60-cdrom_id.rules + add_file /usr/lib/udev/rules.d/10-dm.rules + add_file /usr/lib/udev/rules.d/95-dm-notify.rules + add_file /usr/lib/initcpio/udev/11-dm-initramfs.rules /usr/lib/udev/rules.d/11-dm-initramfs.rules +} + +# vim: set ft=sh ts=4 sw=4 et: diff --git a/install/archiso_kms b/install/archiso_kms new file mode 100644 index 0000000..3ff31f3 --- /dev/null +++ b/install/archiso_kms @@ -0,0 +1,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 +} diff --git a/install/archiso_loop_mnt b/install/archiso_loop_mnt new file mode 100644 index 0000000..59f1d94 --- /dev/null +++ b/install/archiso_loop_mnt @@ -0,0 +1,13 @@ +#!/bin/bash + +build() { + add_runscript +} + +help() { +cat< $BUILDROOT/etc/nsswitch.conf +} + +help() { +cat<