diff options
author | Dave Reisner <dreisner@archlinux.org> | 2020-05-20 14:50:48 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2020-05-20 15:48:25 +0200 |
commit | ab34e08b4624d1a212b66cc0f2c0a2c5b9feb325 (patch) | |
tree | 8a6e7c40b4b5d971e1bf601acde34c766c1a5c01 | |
parent | c9544f97258858587958654f0b000937b2f62354 (diff) | |
download | mkinitcpio-ab34e08b4624d1a212b66cc0f2c0a2c5b9feb325.tar.gz mkinitcpio-ab34e08b4624d1a212b66cc0f2c0a2c5b9feb325.tar.xz |
Revert "[functions] Ignore modinfo built-in modules"
As reported in https://github.com/archlinux/mkinitcpio/pull/20, this
breaks various edge case involving builtins, leading to
hardware-accelerated modules to not be added.
This reverts commit 30dbfc2770cb49cb3babfb750205b126d7d88791.
-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"] > 0 )) && return + (( _addedmodules["$target"] == 1 )) && return while IFS=':= ' read -r -d '' field value; do case "$field" in |