index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2012-05-16 15:52:55 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2012-05-19 15:29:17 -0300 |
commit | ed7b0f0a2fbf61c0175bab17818733741e27c043 (patch) | |
tree | 016e883725b71d73e3c626501bd8f9771a695702 /archiso | |
parent | caf3f7f2dc23e8e722f53268d873e2a8a40a67d1 (diff) |
-rw-r--r-- | archiso/install/archiso | 7 | ||||
-rw-r--r-- | archiso/install/archiso_kms | 16 | ||||
-rw-r--r-- | archiso/install/archiso_loop_mnt | 2 | ||||
-rw-r--r-- | archiso/install/archiso_pxe_common | 8 | ||||
-rw-r--r-- | archiso/install/archiso_pxe_http | 2 | ||||
-rw-r--r-- | archiso/install/archiso_pxe_nbd | 5 | ||||
-rw-r--r-- | archiso/install/archiso_pxe_nfs | 5 | ||||
-rw-r--r-- | archiso/install/archiso_shutdown | 2 |
diff --git a/archiso/install/archiso b/archiso/install/archiso index c36c001..8893667 100644 --- a/archiso/install/archiso +++ b/archiso/install/archiso @@ -1,8 +1,11 @@ #!/bin/bash build() { - MODULES="cdrom loop dm-snapshot" - SCRIPT="archiso" + add_module "cdrom" + add_module "loop" + add_module "dm-snapshot" + + add_runscript add_binary /usr/lib/udev/cdrom_id add_binary blockdev 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 } diff --git a/archiso/install/archiso_loop_mnt b/archiso/install/archiso_loop_mnt index 4141043..59f1d94 100644 --- a/archiso/install/archiso_loop_mnt +++ b/archiso/install/archiso_loop_mnt @@ -1,7 +1,7 @@ #!/bin/bash build() { - SCRIPT="archiso_loop_mnt" + add_runscript } help() { diff --git a/archiso/install/archiso_pxe_common b/archiso/install/archiso_pxe_common index 2e3eec5..77d0bb6 100644 --- a/archiso/install/archiso_pxe_common +++ b/archiso/install/archiso_pxe_common @@ -1,13 +1,9 @@ #!/bin/bash build() { - MODULES="${MODULES} $(comm -2 -3 <(checked_modules "/drivers/net/" | sort) \ - <(find $MODULEDIR/kernel/drivers/net/{irda,phy,wimax,wireless} \ - -name '*.ko*' \ - -exec bash -c 'printf "%s\n" "${@%%.ko*}" | sed "s@.*/@@;s@-@_@" | sort' _ {} +) \ - | grep -v -e 'ppp_' -e 'plip' -e 'pppoe')" - SCRIPT="archiso_pxe_common" + add_checked_modules -f "(irda|phy|wimax|wireless|ppp_|plip|pppoe)" "/drivers/net/" + add_runscript add_binary /usr/lib/initcpio/ipconfig /bin/ipconfig diff --git a/archiso/install/archiso_pxe_http b/archiso/install/archiso_pxe_http index 9e2ff65..4e02f98 100644 --- a/archiso/install/archiso_pxe_http +++ b/archiso/install/archiso_pxe_http @@ -1,7 +1,7 @@ #!/bin/bash build() { - SCRIPT="archiso_pxe_http" + add_runscript add_binary curl } diff --git a/archiso/install/archiso_pxe_nbd b/archiso/install/archiso_pxe_nbd index 1ee3910..8d9552a 100644 --- a/archiso/install/archiso_pxe_nbd +++ b/archiso/install/archiso_pxe_nbd @@ -1,8 +1,9 @@ #!/bin/bash build() { - MODULES="nbd" - SCRIPT="archiso_pxe_nbd" + add_module "nbd" + + add_runscript add_binary nbd-client diff --git a/archiso/install/archiso_pxe_nfs b/archiso/install/archiso_pxe_nfs index f210cd3..f8226e5 100644 --- a/archiso/install/archiso_pxe_nfs +++ b/archiso/install/archiso_pxe_nfs @@ -1,8 +1,9 @@ #!/bin/bash build() { - MODULES="nfs" - SCRIPT="archiso_pxe_nfs" + add_module "nfs" + + add_runscript add_binary /usr/lib/initcpio/nfsmount /bin/nfsmount } diff --git a/archiso/install/archiso_shutdown b/archiso/install/archiso_shutdown index 87b8297..962be95 100644 --- a/archiso/install/archiso_shutdown +++ b/archiso/install/archiso_shutdown @@ -1,7 +1,7 @@ #!/bin/bash build() { - SCRIPT="archiso_shutdown" + add_runscript add_file /usr/lib/initcpio/archiso_shutdown /shutdown } |