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:57:29 +0100 |
commit | f205c40112d90eebb8f2d57c4956273be91e3fd1 (patch) | |
tree | 968ad4caa957846a3952340e48ab326e5a2ecdc1 | |
parent | 77081fa1139a995e6efbb3a881ca419adc6d2385 (diff) | |
download | mkinitcpio-f205c40112d90eebb8f2d57c4956273be91e3fd1.tar.gz mkinitcpio-f205c40112d90eebb8f2d57c4956273be91e3fd1.tar.xz |
Use modprobe --resolve-alias for resolving aliases in autodetect as Arch's udev 150-1 removes resolve-modalias
-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 |