archboot/usr/lib/initcpio/install/archboot_mdadm

20 lines
385 B
Text
Raw Normal View History

#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-2.0-only
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
{
add_all_modules -f 'dm-' 'drivers/md/*'
map add_binary mdmon mdadm
2022-12-25 20:16:13 +01:00
add_file /etc/mdadm.conf
add_file /usr/share/mdadm/mdcheck
2009-03-28 14:07:42 +01:00
}
help ()
{
cat<<HELPEOF
This hook adds complete mdadm to archboot image.
2009-03-28 14:07:42 +01:00
HELPEOF
}
# vim: set ft=sh ts=4 sw=4 et: