[arch-projects] [mkinitcpio][PATCH 08/10] ide: remove hook

Dave Reisner d at falconindy.com
Sat Jan 28 15:39:44 EST 2012


We've disabled this subsystem since 3.1, and PATA really should be used
in place of it. Remove the mentions of it from the config file as well.
---
 install/ide     |   17 -----------------
 mkinitcpio.conf |    4 ----
 2 files changed, 0 insertions(+), 21 deletions(-)
 delete mode 100644 install/ide

diff --git a/install/ide b/install/ide
deleted file mode 100644
index a8d9e97..0000000
--- a/install/ide
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-build() {
-    MODULES="$(checked_modules "/ide/" | grep -v "legacy")"
-
-    [[ $MODULES ]] && MODULES+=" ide-gd_mod?"
-}
-
-help() {
-    cat <<HELPEOF
-This hook loads the necessary modules for an ide root device, using the old ide
-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:
diff --git a/mkinitcpio.conf b/mkinitcpio.conf
index 0f97131..82765c5 100644
--- a/mkinitcpio.conf
+++ b/mkinitcpio.conf
@@ -40,10 +40,6 @@ FILES=""
 ##   work as a sane default
 #    HOOKS="base udev autodetect pata scsi sata filesystems"
 #
-##   This is identical to the above, except the old ide subsystem is
-##   used for IDE devices instead of the new pata subsystem.
-#    HOOKS="base udev autodetect ide scsi sata filesystems"
-#
 ##   This setup will generate a 'full' image which supports most systems.
 ##   No autodetection is done.
 #    HOOKS="base udev pata scsi sata usb filesystems"
-- 
1.7.8.4



More information about the arch-projects mailing list