From: Andrew Gaffney Date: Sat, 2 Feb 2008 17:34:13 +0000 (+0000) Subject: specify the kernel version when looking for a module for bug 208593 X-Git-Tag: v3.4.10.902~170 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=226a52cfebb18bd591d610ff51f665ba0f537062;p=genkernel.git specify the kernel version when looking for a module for bug 208593 git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@582 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- 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() {