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/sata | |
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/sata')
l---------[-rw-r--r--] | install/sata | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/install/sata b/install/sata index c6a2ade..ad926c8 100644..120000 --- a/install/sata +++ b/install/sata @@ -1,22 +1 @@ -#!/bin/bash - -build() { - local filter added - - for filter in 'scsi/.*ata' 'block/sx8' 'ata/sata_*' \ - 'ata/ahci' 'ata/pdc_adma' '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 an sata root device. 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 |