From 93076a0eef35347f3b7de883dedb3be1779aaa45 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Tue, 9 Apr 2019 19:16:43 +0200 Subject: sys-block/io-scheduler-udev-rules: Fix deps and reload rules Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Pacho Ramos --- .../io-scheduler-udev-rules-0-r1.ebuild | 29 ++++++++++++++++++++++ .../io-scheduler-udev-rules-0.ebuild | 25 ------------------- 2 files changed, 29 insertions(+), 25 deletions(-) create mode 100644 sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-0-r1.ebuild delete mode 100644 sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-0.ebuild (limited to 'sys-block/io-scheduler-udev-rules') diff --git a/sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-0-r1.ebuild b/sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-0-r1.ebuild new file mode 100644 index 000000000000..ccf895f40955 --- /dev/null +++ b/sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-0-r1.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 +} 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 deleted file mode 100644 index f30dece6dc02..000000000000 --- a/sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-0.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# 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 -} -- cgit v1.2.3-65-gdbad