2013-07-22 17:57:18 +02:00
|
|
|
#!/usr/bin/env bash
|
2009-12-11 11:32:41 +01:00
|
|
|
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
2009-03-28 14:07:42 +01:00
|
|
|
|
2011-07-06 15:55:39 +02:00
|
|
|
build ()
|
2009-03-28 14:07:42 +01:00
|
|
|
{
|
2013-05-22 10:01:52 +02:00
|
|
|
add_binary "mdmon"
|
2013-08-21 09:02:19 +02:00
|
|
|
# add custom archboot mdadm.conf to avoid mdadm handling isw and ddf metadata devices
|
|
|
|
# which are also covered by dmraid
|
|
|
|
add_file "/usr/share/archboot/mdadm/etc/mdadm.conf" "/etc/mdadm.conf"
|
2009-03-28 14:07:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
help ()
|
|
|
|
{
|
|
|
|
cat<<HELPEOF
|
2021-10-04 11:13:50 +02:00
|
|
|
This hook adds complete mdadm to archboot image
|
2013-08-21 09:40:28 +02:00
|
|
|
which is not covered by mdadm_udev hook.
|
2009-03-28 14:07:42 +01:00
|
|
|
HELPEOF
|
|
|
|
}
|