summaryrefslogtreecommitdiffstats
path: root/install/pata
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-10-06 03:09:30 +0200
committerDave Reisner <dreisner@archlinux.org>2012-11-26 02:08:57 +0100
commit97368c0e78f3a4fe4d62f7aedde88d4be13bfdba (patch)
tree4164e1a9134455804c53218d29bdf4b2ef72b789 /install/pata
parenteac33ad291fe89bb3e157c2ca8e0d8c152ab8f37 (diff)
downloadmkinitcpio-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/pata22
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