mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
sys-process/rtirq: Drop old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST rtirq-20150216.tar.gz 12249 BLAKE2B b138c3b274e7d0875fc18d21ff77291975f86d841cfd06d704b428bcf7e106fb06b4738a4d8dd88ca2e58fa719b8232ef8a61df0bd088c9a368497e27095bd39 SHA512 4cb4e3a8e314cec238c2a21c975bec258f229b660e0994893b73aa0b16f6041179ff4e220532fde237d70e15fd5420e22ee5dbf84168148060e760d76617b59c
|
||||
DIST rtirq-20180209.tar.gz 12290 BLAKE2B 432bf6c931b753d4d9a5d7c50a35b0fb9b2161d09c9f762b97a5aae88152de1f3d14a2a4ccc46d8607d7379e4a7a659d603cc09ee20017923b176359eb4b9133 SHA512 9de924e627b91d6df162b6c8c0c3421fbab11f08162abe98b0fac8742ea924a7e0a18aab23d828e19fe81dfdb70f2f6814c7195acbcbc93af9a339dc549190b2
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
DESCRIPTION="Modify realtime scheduling policy and priority of IRQ handlers"
|
||||
HOMEPAGE="https://www.rncbc.org/archive/#rtirq"
|
||||
|
||||
SRC_URI="https://www.rncbc.org/archive/old/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND=">=sys-apps/util-linux-2.13"
|
||||
|
||||
src_prepare() {
|
||||
# Correct config file path.
|
||||
sed -i -e "s:^\(RTIRQ_CONFIG\=\)\(.*\):\1/etc/conf.d/rtirq:" ${PN}.sh || die
|
||||
sed -i -e "s:/etc/sysconfig/rtirq:/etc/conf.d/rtirq:" ${PN}.conf || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install(){
|
||||
dosbin ${PN}.sh
|
||||
doinitd "${FILESDIR}"/${PN}
|
||||
newconfd ${PN}.conf ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst(){
|
||||
if [[ "$(rc-config list default | grep rtirq)" = "" ]] ; then
|
||||
elog "You probably want to add rtirq to the default runlevel, i.e."
|
||||
elog " rc-update add rtirq default"
|
||||
fi
|
||||
if [[ "$(uname -r | grep rt)" = "" ]] ; then
|
||||
elog "To use rtirq you need a realtime kernel."
|
||||
elog "Realtime kernel sources are supplied in sys-kernel/rt-sources."
|
||||
fi
|
||||
elog "To display the rtirq status issue:"
|
||||
elog " /etc/init.d/rtirq status"
|
||||
}
|
||||
Reference in New Issue
Block a user