diff options
-rwxr-xr-x | mkinitcpio | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -343,6 +343,13 @@ declare -i builderrors=0 set -o functrace trap '(( $? )) && [[ $FUNCNAME = add_* ]] && (( ++builderrors ))' RETURN +# prime the ADDED_MODULES list with the builtins for this kernel +if [[ -r $MODULEDIR/modules.builtin ]]; then + while read -a path; do + ADDED_MODULES["${path[-1]%.ko}"]=1 + done <"$MODULEDIR/modules.builtin" +fi + for hook in "${hooks[@]}"; do run_build_hook "$hook" || (( ++builderrors )) done |