summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2021-11-06 09:52:08 +0100
committerPacho Ramos <pacho@gentoo.org>2021-11-06 09:52:58 +0100
commit6f6ba0ca38943dffb1fa9999340f12e3a0d6a414 (patch)
treebce4ed96c324c33409223525277919af3a297cdb /sys-block
parentsci-chemistry/dssp: Drop old (diff)
downloadgentoo-6f6ba0ca38943dffb1fa9999340f12e3a0d6a414.tar.gz
gentoo-6f6ba0ca38943dffb1fa9999340f12e3a0d6a414.tar.bz2
gentoo-6f6ba0ca38943dffb1fa9999340f12e3a0d6a414.zip
sys-block/io-scheduler-udev-rules: Bump to v2
Package-Manager: Portage-3.0.28, Repoman-3.0.3 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-2.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 2e471d1e0825..423903b4b44c 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-1.tar.bz2 7503 BLAKE2B ef1c8f1cf1a94018e82a3c430860af9e7d6c31b12318b5b672ee3b9f0c51c24c69566f764c0a6c0bdfcc1342160a801d7849c0cd0e783715b2b36be1ba285a05 SHA512 7da4ec700bc508c790da916df030164da39bed223677ebc3633e1bf4ad085a9d401a3ed64dc7b07a5e90f4a60933a25a6c4584544c9022ac70e5b1b33cde0e2f
+DIST io-scheduler-udev-rules-2.tar.bz2 7927 BLAKE2B d019b7c5acb81f60fc20c8009733a3e7f58f7ddeb96e3b4333fdbb027b710904c7f8ed669638dba59044ad9dca9a9771c204e339b5cff3b9782a71062642ce36 SHA512 a78128bd8d0b954d31d0086063e47180560720c42892c04cea111096c25fbaf75c6ec4c8645eae1ffb0b3986158b40db10e591b86fb9e34f63a5ae92b37df39a
diff --git a/sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-2.ebuild b/sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-2.ebuild
new file mode 100644
index 000000000000..6e69ec8b5768
--- /dev/null
+++ b/sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+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
+}