summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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>