2013-07-22 17:57:18 +02:00
|
|
|
#!/usr/bin/env bash
|
2023-01-27 08:08:28 +01:00
|
|
|
# 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
|
|
|
|
2011-07-06 15:55:39 +02:00
|
|
|
build ()
|
2009-03-28 14:07:42 +01:00
|
|
|
{
|
2023-04-25 21:55:50 +02: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
|
2023-04-25 21:55:50 +02:00
|
|
|
add_file /usr/share/mdadm/mdcheck
|
2009-03-28 14:07:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
help ()
|
|
|
|
{
|
|
|
|
cat<<HELPEOF
|
2023-04-25 21:55:50 +02:00
|
|
|
This hook adds complete mdadm to archboot image.
|
2009-03-28 14:07:42 +01:00
|
|
|
HELPEOF
|
|
|
|
}
|
2023-01-27 08:08:28 +01:00
|
|
|
# vim: set ft=sh ts=4 sw=4 et:
|