summaryrefslogtreecommitdiffstats
path: root/install/usb
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/usb
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/usb')
l---------[-rw-r--r--]install/usb21
1 files changed, 1 insertions, 20 deletions
diff --git a/install/usb b/install/usb
index 2b36c35..ad926c8 100644..120000
--- a/install/usb
+++ b/install/usb
@@ -1,20 +1 @@
-#!/bin/bash
-
-build() {
- if add_checked_modules -f '(_cs|sl811_hcd|isp116x_hcd)' '/usb/host'; then
- add_module 'usb_storage?'
- add_module 'sd_mod?'
- add_module 'sr_mod?'
- add_checked_modules 'drivers/usb/storage/ums-*'
- fi
-}
-
-help() {
- cat <<HELPEOF
-This hook loads the necessary modules for an usb 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