summaryrefslogtreecommitdiff
path: root/debian/initramfs
diff options
context:
space:
mode:
authormadduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464>2006-07-27 21:59:04 +0000
committermadduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464>2006-07-27 21:59:04 +0000
commit1736b1479a561a1e6516bf27398b16cee18565af (patch)
tree90a2e9745311945fe37f402d424e5d508e05d3fc /debian/initramfs
parent39c1d746fe373956f309857669be78676abc9c4d (diff)
* Copy raid456 kernel module into initramfs, if present (closes: #380152).
Diffstat (limited to 'debian/initramfs')
-rw-r--r--debian/initramfs/hook6
1 files changed, 4 insertions, 2 deletions
diff --git a/debian/initramfs/hook b/debian/initramfs/hook
index 4ff6d2f5..0efb081b 100644
--- a/debian/initramfs/hook
+++ b/debian/initramfs/hook
@@ -75,8 +75,10 @@ if [ -n "$DEVS" ]; then
copy_exec $MDADM /sbin
- # copy all modules into the initramfs, just for safety
- MODULES="linear multipath raid0 raid1 raid5 raid6 raid10"
+ # copy all modules into the initramfs, just for safety.
+ # we copy raid456 / raid5+raid6 because the hook script just won't do
+ # anything when the module cannot be found.
+ MODULES="linear multipath raid0 raid1 raid456 raid5 raid6 raid10"
for mod in $MODULES; do manual_add_modules $mod; done
# prevent problems with old md script. Since this hook is only called if