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
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')
-rw-r--r--sys-block/io-scheduler-udev-rules/Manifest1
-rw-r--r--sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-0.ebuild25
-rw-r--r--sys-block/io-scheduler-udev-rules/metadata.xml7
3 files changed, 33 insertions, 0 deletions
diff --git a/sys-block/io-scheduler-udev-rules/Manifest b/sys-block/io-scheduler-udev-rules/Manifest
new file mode 100644
index 000000000000..c27802d020b3
--- /dev/null
+++ b/sys-block/io-scheduler-udev-rules/Manifest
@@ -0,0 +1 @@
+DIST io-scheduler-udev-rules-0.tar.bz2 7465 BLAKE2B cc82d81081fd21ccc5714874b02d70206bcf40311070f916ee1312106687e0a8566a1a906e6660f6a508704814f667a58cf547bec54cc88bab4a070616ddb6ba SHA512 c68430a4a3ee78ec34947e225be911c0e61db83f2ae078e1ea21a9c0148c668c0ebbb0fe798c89b8ab14b414a4c6b2e2d77bd5b1abf800a21db0320971134f43
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
+}
diff --git a/sys-block/io-scheduler-udev-rules/metadata.xml b/sys-block/io-scheduler-udev-rules/metadata.xml
new file mode 100644
index 000000000000..020b40648ee8
--- /dev/null
+++ b/sys-block/io-scheduler-udev-rules/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>pacho@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>