summaryrefslogtreecommitdiffstats
path: root/install/sata
AgeCommit message (Collapse)AuthorFilesLines
2011-09-27functions: allow ignoring errors on module additionDave Reisner1-1/+1
We conditionally, but naively, add modules in some of our install hooks, but the kernel may not have these. Note that these modules can fail silently by detecting a '?' suffix on the module name. In conjunction with this, the add_module function now takes a flag, -t or --try, which will ignore module not found errors from modinfo. The config file will also support this syntax. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-09-27cleanup and bashify install hooksDave Reisner1-1/+1
No logical code changes -- this is purely a syntactical cleanup and standardization across the build hooks along with ensuring that help messages are wrapped to 80 columns or less. All hooks get the same treatment, adhering to the following style: #!/bin/bash build() { COMMANDS } help() { cat <<HELPEOF This is a help message. HELPEOF } # vim: set ft=sh ts=4 sw=4 et: Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-06-25install/{sata,pata,scsi}: cleanup and simplifyDave Reisner1-21/+14
* Use loops where possible for module addition * remove superfluous trim operation * remove antiquated filters for modules which do not exist Signed-off-by: Dave Reisner <d@falconindy.com>
2011-06-16mkinitcpio: deprecate install() in install hooksDave Reisner1-1/+1
This is an unfortunate name clash with a common utility and should be avoided. Rename the install function to 'build' and warn the user when we discover a hook using an 'install' function. Signed-off-by: Dave Reisner <d@falconindy.com>
2008-04-21Do not add CD modules to {p,s}ata, ide and scsi hooksThomas Bächler1-1/+1
2007-08-11Coding style change, use -n and -z for variable testsAaron Griffin1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@209 880c04e9-e011-0410-abf7-b926e227c9cd
2006-12-07reverted partially fucked up commit. should be better nowThomas Bächler1-1/+1
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@190 880c04e9-e011-0410-abf7-b926e227c9cd
2006-12-07- worked around "libata not added" bug. this needs to be looked at carefullyThomas Bächler1-1/+1
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@189 880c04e9-e011-0410-abf7-b926e227c9cd
2006-10-23- Fixed autodetectionThomas Bächler1-1/+3
- Minor changes to presets - Removed ata, made sata 2.6.19-ready and added pata git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@179 880c04e9-e011-0410-abf7-b926e227c9cd
2006-06-06New error conditions: fail on missing hook or missing moduleAaron Griffin1-1/+1
Filesystem hook changes (parseblock handling) Init changes to allow /arch.cmd command line parsing Misc install script cleanups git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@123 880c04e9-e011-0410-abf7-b926e227c9cd
2006-05-06'added check for sx8 ahci and pdc'Tobias Powalowski1-2/+3
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@75 880c04e9-e011-0410-abf7-b926e227c9cd
2006-05-04Changes to autodetection:Aaron Griffin1-1/+7
General performance improvement Cleaned up excess modules git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@56 880c04e9-e011-0410-abf7-b926e227c9cd
2006-05-04remove piixAaron Griffin1-1/+1
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@55 880c04e9-e011-0410-abf7-b926e227c9cd
2006-05-04Improved autodetect functionality with a checked_modulesAaron Griffin1-1/+1
function git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@53 880c04e9-e011-0410-abf7-b926e227c9cd
2006-05-03"added my changes"Tobias Powalowski1-1/+1
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@49 880c04e9-e011-0410-abf7-b926e227c9cd
2006-05-03Merged autodetect changes from tpowa.Aaron Griffin1-1/+1
Removed older subsystem specific scripts, replaced then with 'modload' just to keep the option in place. git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@43 880c04e9-e011-0410-abf7-b926e227c9cd
2006-05-02Misc changes to module detection - tpowaAaron Griffin1-4/+1
Config file comments mdassemble in raid hook + additional raid help git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@40 880c04e9-e011-0410-abf7-b926e227c9cd
2006-04-22Hook updates and changes...Aaron Griffin1-0/+21
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@7 880c04e9-e011-0410-abf7-b926e227c9cd