sys-block/io-scheduler-udev-rules: Alternative way to configure I/O schedulers
authorPacho Ramos <pacho@gentoo.org>
Mon, 8 Apr 2019 21:26:18 +0000 (23:26 +0200)
committerPacho Ramos <pacho@gentoo.org>
Mon, 8 Apr 2019 21:26:18 +0000 (23:26 +0200)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
sys-block/io-scheduler-udev-rules/Manifest [new file with mode: 0644]
sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-0.ebuild [new file with mode: 0644]
sys-block/io-scheduler-udev-rules/metadata.xml [new file with mode: 0644]

diff --git a/sys-block/io-scheduler-udev-rules/Manifest b/sys-block/io-scheduler-udev-rules/Manifest
new file mode 100644 (file)
index 0000000..c27802d
--- /dev/null
@@ -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 (file)
index 0000000..f30dece
--- /dev/null
@@ -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 (file)
index 0000000..020b406
--- /dev/null
@@ -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>