summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2019-04-08 23:26:18 +0200
committerPacho Ramos <pacho@gentoo.org>2019-04-08 23:26:18 +0200
commit92cc1af0b9bda6ce59aa51ffb37e5a954ae154a1 (patch)
treec9c58c7353ab1ea5539d00a9814d5acb79a77d3b /sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-0.ebuild
parentmedia-libs/vigra: Drop 1.11.1-r1, 1.11.0 (r0) (diff)
downloadgentoo-92cc1af0b9bda6ce59aa51ffb37e5a954ae154a1.tar.gz
gentoo-92cc1af0b9bda6ce59aa51ffb37e5a954ae154a1.tar.bz2
gentoo-92cc1af0b9bda6ce59aa51ffb37e5a954ae154a1.zip
sys-block/io-scheduler-udev-rules: Alternative way to configure I/O schedulers
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-0.ebuild')
-rw-r--r--sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-0.ebuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-0.ebuild b/sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-0.ebuild
new file mode 100644
index 000000000000..f30dece6dc02
--- /dev/null
+++ b/sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit udev
+
+DESCRIPTION="Udev rules to allow easier customization of kernel I/O schedulers"
+HOMEPAGE="https://gitlab.com/pachoramos/io-scheduler-udev-rules"
+SRC_URI="https://gitlab.com/pachoramos/${PN}/-/archive/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+BDEPEND=""
+
+src_install() {
+ insinto /etc/default
+ doins etc/default/io-scheduler
+ udev_dorules udev/rules.d/60-io-scheduler.rules
+ einstalldocs
+}