summaryrefslogtreecommitdiffstats
path: root/install/pata
AgeCommit message (Collapse)AuthorFilesLines
2017-12-30Remove install hook aliases for block and keyboardDave Reisner1-1/+0
These have been deprecated since 2012. I think that's enough time for people to migrate.
2012-11-26merge most storage hooks into a single 'block' hookDave Reisner1-21/+1
As the autodetect hook gets better with every kernel release, we can "afford" to remove the needless segregation of block device driver hooks and simply merge all the "vanilla" or "unstacked" block device drivers. This should make a lot of setups, like usb or virtio, easier as you won't need to remember to add the hook. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-05-18use new API for install hooksDave Reisner1-2/+4
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
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-20/+13
* 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-0/+26
- 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