summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-01-07 19:22:33 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-01-07 19:22:33 +0000
commit2b3985a5a3820e3e4cdfec885fc559dd1e05a592 (patch)
treeaa4803fb8b4e4ea35ca873d83b0a0e4cd733c5a3 /sys-apps/kmod
parentMarked stable for amd64 wrt bug #450070 (diff)
downloadgentoo-2-2b3985a5a3820e3e4cdfec885fc559dd1e05a592.tar.gz
gentoo-2-2b3985a5a3820e3e4cdfec885fc559dd1e05a592.tar.bz2
gentoo-2-2b3985a5a3820e3e4cdfec885fc559dd1e05a592.zip
Create also /bin/modinfo symlink because the application is usable and useful as a normal user.
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'sys-apps/kmod')
-rw-r--r--sys-apps/kmod/ChangeLog9
-rw-r--r--sys-apps/kmod/kmod-12-r1.ebuild16
-rw-r--r--sys-apps/kmod/kmod-9999.ebuild16
3 files changed, 27 insertions, 14 deletions
diff --git a/sys-apps/kmod/ChangeLog b/sys-apps/kmod/ChangeLog
index 0da31b2443c4..a486a0111207 100644
--- a/sys-apps/kmod/ChangeLog
+++ b/sys-apps/kmod/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/kmod
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/ChangeLog,v 1.64 2012/12/18 10:23:37 ssuominen Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/ChangeLog,v 1.65 2013/01/07 19:22:33 ssuominen Exp $
+
+ 07 Jan 2013; Samuli Suominen <ssuominen@gentoo.org> kmod-12-r1.ebuild,
+ kmod-9999.ebuild:
+ Create also /bin/modinfo symlink because the application is useble and
+ useful as a normal user.
18 Dec 2012; Samuli Suominen <ssuominen@gentoo.org> -kmod-12.ebuild:
old
diff --git a/sys-apps/kmod/kmod-12-r1.ebuild b/sys-apps/kmod/kmod-12-r1.ebuild
index 1b2bef71b3bd..81cde21e9612 100644
--- a/sys-apps/kmod/kmod-12-r1.ebuild
+++ b/sys-apps/kmod/kmod-12-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-12-r1.ebuild,v 1.2 2012/12/18 10:28:09 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-12-r1.ebuild,v 1.3 2013/01/07 19:22:33 ssuominen Exp $
EAPI=4
@@ -70,11 +70,15 @@ src_install()
prune_libtool_files
if use tools; then
- local cmd
- for cmd in depmod insmod lsmod modinfo modprobe rmmod; do
- dosym /bin/kmod /sbin/${cmd}
+ local bincmd sbincmd
+ for sbincmd in depmod insmod lsmod modinfo modprobe rmmod; do
+ dosym /bin/kmod /sbin/${sbincmd}
+ done
+
+ # These are also usable as normal user
+ for bincmd in lsmod modinfo; do
+ dosym kmod /bin/${bincmd}
done
- dosym kmod /bin/lsmod
fi
cat <<-EOF > "${T}"/usb-load-ehci-first.conf
diff --git a/sys-apps/kmod/kmod-9999.ebuild b/sys-apps/kmod/kmod-9999.ebuild
index d42feda0a0e0..29349969eb39 100644
--- a/sys-apps/kmod/kmod-9999.ebuild
+++ b/sys-apps/kmod/kmod-9999.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 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.44 2012/12/18 10:28:09 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild,v 1.45 2013/01/07 19:22:33 ssuominen Exp $
EAPI=4
@@ -70,11 +70,15 @@ src_install()
prune_libtool_files
if use tools; then
- local cmd
- for cmd in depmod insmod lsmod modinfo modprobe rmmod; do
- dosym /bin/kmod /sbin/${cmd}
+ local bincmd sbincmd
+ for sbincmd in depmod insmod lsmod modinfo modprobe rmmod; do
+ dosym /bin/kmod /sbin/${sbincmd}
+ done
+
+ # These are also usable as normal user
+ for bincmd in lsmod modinfo; do
+ dosym kmod /bin/${bincmd}
done
- dosym kmod /bin/lsmod
fi
cat <<-EOF > "${T}"/usb-load-ehci-first.conf