diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-10-06 03:09:30 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-11-26 02:08:57 +0100 |
commit | 97368c0e78f3a4fe4d62f7aedde88d4be13bfdba (patch) | |
tree | 4164e1a9134455804c53218d29bdf4b2ef72b789 /install/pata | |
parent | eac33ad291fe89bb3e157c2ca8e0d8c152ab8f37 (diff) | |
download | mkinitcpio-97368c0e78f3a4fe4d62f7aedde88d4be13bfdba.tar.gz mkinitcpio-97368c0e78f3a4fe4d62f7aedde88d4be13bfdba.tar.xz |
merge most storage hooks into a single 'block' hook
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>
Diffstat (limited to 'install/pata')
l---------[-rw-r--r--] | install/pata | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/install/pata b/install/pata index bcf3809..ad926c8 100644..120000 --- a/install/pata +++ b/install/pata @@ -1,21 +1 @@ -#!/bin/bash - -build() { - local filter added - - for filter in 'ata/pata_*' 'ata/ata_generic' 'ata/ata_piix'; do - add_checked_modules "$filter" && (( ++added )) - done - - (( added )) && add_module "sd_mod?" -} - -help() { - cat <<HELPEOF -This hook loads the necessary modules for a pata (ide) root device, using the -new libata subsystem. Detection will take place at runtime. To minimize the -modules in the image, add the autodetect hook too. -HELPEOF -} - -# vim: set ft=sh ts=4 sw=4 et: +block
\ No newline at end of file |