summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2019-04-14 16:16:33 +0200
committerPacho Ramos <pacho@gentoo.org>2019-04-14 16:16:33 +0200
commit51c4f99b0071fa73a4912e1e6ae791ce7d5d109f (patch)
tree3b509688411be0691d2e794b7a53263fb4d8381d /sys-block/io-scheduler-udev-rules
parentdev-libs/boost-mpl-cartesian_product: update HOMEPAGE (diff)
downloadgentoo-51c4f99b0071fa73a4912e1e6ae791ce7d5d109f.tar.gz
gentoo-51c4f99b0071fa73a4912e1e6ae791ce7d5d109f.tar.bz2
gentoo-51c4f99b0071fa73a4912e1e6ae791ce7d5d109f.zip
sys-block/io-scheduler-udev-rules: Version bump
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')
-rw-r--r--sys-block/io-scheduler-udev-rules/Manifest1
-rw-r--r--sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-1.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/sys-block/io-scheduler-udev-rules/Manifest b/sys-block/io-scheduler-udev-rules/Manifest
index c27802d020b3..17c7f5fd807a 100644
--- a/sys-block/io-scheduler-udev-rules/Manifest
+++ b/sys-block/io-scheduler-udev-rules/Manifest
@@ -1 +1,2 @@
DIST io-scheduler-udev-rules-0.tar.bz2 7465 BLAKE2B cc82d81081fd21ccc5714874b02d70206bcf40311070f916ee1312106687e0a8566a1a906e6660f6a508704814f667a58cf547bec54cc88bab4a070616ddb6ba SHA512 c68430a4a3ee78ec34947e225be911c0e61db83f2ae078e1ea21a9c0148c668c0ebbb0fe798c89b8ab14b414a4c6b2e2d77bd5b1abf800a21db0320971134f43
+DIST io-scheduler-udev-rules-1.tar.bz2 7503 BLAKE2B ef1c8f1cf1a94018e82a3c430860af9e7d6c31b12318b5b672ee3b9f0c51c24c69566f764c0a6c0bdfcc1342160a801d7849c0cd0e783715b2b36be1ba285a05 SHA512 7da4ec700bc508c790da916df030164da39bed223677ebc3633e1bf4ad085a9d401a3ed64dc7b07a5e90f4a60933a25a6c4584544c9022ac70e5b1b33cde0e2f
diff --git a/sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-1.ebuild b/sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-1.ebuild
new file mode 100644
index 000000000000..ccf895f40955
--- /dev/null
+++ b/sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-1.ebuild
@@ -0,0 +1,29 @@
+# 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="virtual/udev"
+BDEPEND=""
+
+src_install() {
+ insinto /etc/default
+ doins etc/default/io-scheduler
+ udev_dorules udev/rules.d/60-io-scheduler.rules
+ einstalldocs
+}
+
+pkg_postinst() {
+ udev_reload
+}