archboot/usr/lib/initcpio/install/archboot_mdadm

19 lines
441 B
Text
Raw Normal View History

#!/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
build ()
2009-03-28 14:07:42 +01:00
{
2013-05-22 10:01:52 +02:00
add_binary "mdmon"
# 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
This hook adds complete mdadm to arch boot image
which is not covered by mdadm_udev hook.
2009-03-28 14:07:42 +01:00
HELPEOF
}