summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/kmod/kmod-9999.ebuild')
-rw-r--r--sys-apps/kmod/kmod-9999.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys-apps/kmod/kmod-9999.ebuild b/sys-apps/kmod/kmod-9999.ebuild
index 74dc57e605c4..63153008905d 100644
--- a/sys-apps/kmod/kmod-9999.ebuild
+++ b/sys-apps/kmod/kmod-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild,v 1.28 2012/07/13 09:58:06 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild,v 1.29 2012/07/13 16:27:28 williamh Exp $
EAPI=4
@@ -76,8 +76,11 @@ src_install()
if use tools; then
local cmd
- for cmd in depmod insmod lsmod modinfo modprobe rmmod; do
+ for cmd in depmod insmod lsmod modinfo rmmod; do
dosym kmod /usr/bin/${cmd}
done
+ # according to upstream, modprobe can be called directly by the kernel,
+ # so it cannot be moved to /usr/bin at this time.
+ dosym /usr/bin/kmod /sbin/modprobe
fi
}