You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
615 B
30 lines
615 B
# 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
|
|
}
|