summaryrefslogtreecommitdiff
path: root/hook-functions
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2008-12-14 19:26:00 +0100
committermaximilian attems <maks@debian.org>2008-12-14 19:26:00 +0100
commitacae751d2af11ceb05deab13dbc9c111140c9f58 (patch)
tree087b8ab67a32718dfb891ff55cc00a8bb3b1bf95 /hook-functions
parent10ac5c60e51125d45f3923edd1dd1f560ad0df1f (diff)
downloadinitramfs-tools-acae751d2af11ceb05deab13dbc9c111140c9f58.tar.gz
initramfs-tools-acae751d2af11ceb05deab13dbc9c111140c9f58.zip
MODULES=dep fix for ida devices
same fix as cciss, see #507619
Diffstat (limited to 'hook-functions')
-rw-r--r--hook-functions4
1 files changed, 4 insertions, 0 deletions
diff --git a/hook-functions b/hook-functions
index d8875b7..0dc3e22 100644
--- a/hook-functions
+++ b/hook-functions
@@ -273,6 +273,10 @@ dep_add_modules()
elif [ "${root#/dev/cciss/}" != "${root}" ]; then
block=${root#/dev/cciss/*}
block="cciss!${block%p*}"
+ # ida device
+ elif [ "${root#/dev/ida/}" != "${root}" ]; then
+ block=${root#/dev/ida/*}
+ block="ida!${block%p*}"
# classical root device
else
block=${root#/dev/}