diff options
author | Morten Linderud <morten@linderud.pw> | 2020-02-20 09:44:29 +0100 |
---|---|---|
committer | Morten Linderud <morten@linderud.pw> | 2020-02-20 19:08:36 +0100 |
commit | 30dbfc2770cb49cb3babfb750205b126d7d88791 (patch) | |
tree | 3bc7ea7c37de94a7440d66273572b45eaf39a8bf /functions | |
parent | a3cb799a8f63186b843db6a57da12d74a9320686 (diff) | |
download | mkinitcpio-30dbfc2770cb49cb3babfb750205b126d7d88791.tar.gz mkinitcpio-30dbfc2770cb49cb3babfb750205b126d7d88791.tar.xz |
[functions] Ignore modinfo built-in modules
modinfo have started reporting filenames as "(builtin)" on built-in
modules. Ignore these and continue with other modules.
Fixes: https://bugs.archlinux.org/task/65564
Introduced in: https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/commit/?id=e7e2cb61fa9f1db3429d91ef6accff549500d268
Signed-off-by: Morten Linderud <morten@linderud.pw>
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -371,7 +371,7 @@ add_module() { target=${1%.ko*} target=${target//-/_} # skip expensive stuff if this module has already been added - (( _addedmodules["$target"] == 1 )) && return + (( _addedmodules["$target"] > 0 )) && return while IFS=':= ' read -r -d '' field value; do case "$field" in |