diff options
author | Thomas Bächler <thomas@archlinux.org> | 2010-01-24 14:57:29 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2010-01-24 14:58:17 +0100 |
commit | 33e55e4c9d873550842a21e6071044b984b26c28 (patch) | |
tree | db7d75b3909894c952c4dc9b948f3af6cae6609c /functions | |
parent | 880bc44f247e9b32d0c9aebd40d1a16a660fbf64 (diff) | |
download | mkinitcpio-33e55e4c9d873550842a21e6071044b984b26c28.tar.gz mkinitcpio-33e55e4c9d873550842a21e6071044b984b26c28.tar.xz |
Use modprobe --resolve-alias for resolving aliases in autodetect as Arch's udev 150-1 removes resolve-modalias
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ auto_modules () aliases="$(find /sys/devices/ -name modalias -exec cat {} +)" mods="" for a in $aliases; do - m="$(resolve-modalias "/lib/modules/${KERNELVERSION}/modules.alias" "$a")" + m="$(modprobe --set-version ${KERNELVERSION} --resolve-alias "$a")" [ -n "$m" ] && mods="$mods $m" done |