summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2012-07-13 16:27:28 +0000
committerWilliam Hubbs <williamh@gentoo.org>2012-07-13 16:27:28 +0000
commit3f739ba29d4201dcd41aa8367869a287b84a79b6 (patch)
treef36e6d4c512703ee3bf8495c661b4e3d09409c61 /sys-apps/kmod/kmod-9999.ebuild
parentStable ppc ppc64, bug #425360 (diff)
downloadhistorical-3f739ba29d4201dcd41aa8367869a287b84a79b6.tar.gz
historical-3f739ba29d4201dcd41aa8367869a287b84a79b6.tar.bz2
historical-3f739ba29d4201dcd41aa8367869a287b84a79b6.zip
remove broken version. The kernel calls /sbin/modprobe directly, so that symbolic link cannot be removed at this time.
Package-Manager: portage-2.2.0_alpha117/cvs/Linux i686
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
}