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
cleanup-cruft
Andrew Gaffney 17 years ago
parent 2df80062d6
commit 226a52cfeb

@ -2,6 +2,9 @@
# Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
02 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> generic/modprobe:
specify the kernel version when looking for a module for bug 208593
02 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
generic/initrd.defaults, generic/initrd.scripts:
Removed runUdev, since we no longer use it.

@ -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() {

Loading…
Cancel
Save