diff --git a/ChangeLog b/ChangeLog index 6ec1085..c729013 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,9 @@ # Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 02 Feb 2008; Andrew Gaffney generic/modprobe: + specify the kernel version when looking for a module for bug 208593 + 02 Feb 2008; Chris Gianelloni generic/initrd.defaults, generic/initrd.scripts: Removed runUdev, since we no longer use it. diff --git a/generic/modprobe b/generic/modprobe index ff676f7..1591c42 100755 --- a/generic/modprobe +++ b/generic/modprobe @@ -63,7 +63,7 @@ is_module_already_loaded() { real_mod_path() { # Find -name is no good since the return status is always zero - find /lib/modules | grep /"${1}${KSUFF}" + find "/lib/modules/${KV}" | grep /"${1}${KSUFF}" } modprobe2() {