1 |
commit: 6f6ba0ca38943dffb1fa9999340f12e3a0d6a414 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 6 08:52:08 2021 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 6 08:52:58 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f6ba0ca |
7 |
|
8 |
sys-block/io-scheduler-udev-rules: Bump to v2 |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
12 |
|
13 |
sys-block/io-scheduler-udev-rules/Manifest | 1 + |
14 |
.../io-scheduler-udev-rules-2.ebuild | 29 ++++++++++++++++++++++ |
15 |
2 files changed, 30 insertions(+) |
16 |
|
17 |
diff --git a/sys-block/io-scheduler-udev-rules/Manifest b/sys-block/io-scheduler-udev-rules/Manifest |
18 |
index 2e471d1e082..423903b4b44 100644 |
19 |
--- a/sys-block/io-scheduler-udev-rules/Manifest |
20 |
+++ b/sys-block/io-scheduler-udev-rules/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST io-scheduler-udev-rules-1.tar.bz2 7503 BLAKE2B ef1c8f1cf1a94018e82a3c430860af9e7d6c31b12318b5b672ee3b9f0c51c24c69566f764c0a6c0bdfcc1342160a801d7849c0cd0e783715b2b36be1ba285a05 SHA512 7da4ec700bc508c790da916df030164da39bed223677ebc3633e1bf4ad085a9d401a3ed64dc7b07a5e90f4a60933a25a6c4584544c9022ac70e5b1b33cde0e2f |
23 |
+DIST io-scheduler-udev-rules-2.tar.bz2 7927 BLAKE2B d019b7c5acb81f60fc20c8009733a3e7f58f7ddeb96e3b4333fdbb027b710904c7f8ed669638dba59044ad9dca9a9771c204e339b5cff3b9782a71062642ce36 SHA512 a78128bd8d0b954d31d0086063e47180560720c42892c04cea111096c25fbaf75c6ec4c8645eae1ffb0b3986158b40db10e591b86fb9e34f63a5ae92b37df39a |
24 |
|
25 |
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 |
26 |
new file mode 100644 |
27 |
index 00000000000..6e69ec8b576 |
28 |
--- /dev/null |
29 |
+++ b/sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-2.ebuild |
30 |
@@ -0,0 +1,29 @@ |
31 |
+# Copyright 2019-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+inherit udev |
36 |
+ |
37 |
+DESCRIPTION="Udev rules to allow easier customization of kernel I/O schedulers" |
38 |
+HOMEPAGE="https://gitlab.com/pachoramos/io-scheduler-udev-rules" |
39 |
+SRC_URI="https://gitlab.com/pachoramos/${PN}/-/archive/${PV}/${P}.tar.bz2" |
40 |
+ |
41 |
+LICENSE="GPL-2" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~x86" |
44 |
+IUSE="" |
45 |
+ |
46 |
+DEPEND="" |
47 |
+RDEPEND="virtual/udev" |
48 |
+BDEPEND="" |
49 |
+ |
50 |
+src_install() { |
51 |
+ insinto /etc/default |
52 |
+ doins etc/default/io-scheduler |
53 |
+ udev_dorules udev/rules.d/60-io-scheduler.rules |
54 |
+ einstalldocs |
55 |
+} |
56 |
+ |
57 |
+pkg_postinst() { |
58 |
+ udev_reload |
59 |
+} |