# vim: set ft=sh: build() { MODULES=" $(checked_modules "drivers/md/*" | grep -v "dm-") " BINARIES="" FILES="" SCRIPT="" # check if a custom mdadm.conf exists if grep -q ^ARRAY /etc/mdadm.conf; then echo "Custom /etc/mdadm.conf file will be used in initramfs for assembling arrays." add_file "/etc/mdadm.conf" fi add_binary "/sbin/mdadm" add_file "/lib/udev/rules.d/64-md-raid.rules" } help () { cat<