From d7cd4ab2437f5a66e1593b36457b657abc199fe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 21 Apr 2019 17:52:09 +0200 Subject: sys-kernel/bfq-scheduler: add as new package --- sys-kernel/bfq-scheduler/bfq-scheduler-1.0-r1.ebuild | 16 ++++++++++++++++ sys-kernel/bfq-scheduler/files/60-bfq-sd.rules | 1 + 2 files changed, 17 insertions(+) create mode 100644 sys-kernel/bfq-scheduler/bfq-scheduler-1.0-r1.ebuild create mode 100644 sys-kernel/bfq-scheduler/files/60-bfq-sd.rules (limited to 'sys-kernel/bfq-scheduler') diff --git a/sys-kernel/bfq-scheduler/bfq-scheduler-1.0-r1.ebuild b/sys-kernel/bfq-scheduler/bfq-scheduler-1.0-r1.ebuild new file mode 100644 index 0000000..fa8213e --- /dev/null +++ b/sys-kernel/bfq-scheduler/bfq-scheduler-1.0-r1.ebuild @@ -0,0 +1,16 @@ +EAPI=6 + +DESCRIPTION="udev rules to enable BFQ scheduler on all /dev/sd* drives" +HOMEPAGE="http://git.cynerd.cz/gentoo-personal-overlay/" +S="${WORKDIR}" + +LICENSE="GPL-3.0+" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND="virtual/udev" + +src_install() { + insinto /lib64/udev/rules.d + doins "${FILESDIR}/60-bfq-sd.rules" +} diff --git a/sys-kernel/bfq-scheduler/files/60-bfq-sd.rules b/sys-kernel/bfq-scheduler/files/60-bfq-sd.rules new file mode 100644 index 0000000..7799518 --- /dev/null +++ b/sys-kernel/bfq-scheduler/files/60-bfq-sd.rules @@ -0,0 +1 @@ +ACTION=="add|change", KERNEL=="sd*[!0-9]", ATTR{queue/scheduler}="bfq" -- cgit v1.2.3