rtkit: drop obsolete (since systemd>=205) ControlGroup setting from rtkit-daemon.service.
This commit is contained in:
parent
bd61c5f3f0
commit
a57f4a3d7e
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'rtkit'
|
# Template file for 'rtkit'
|
||||||
pkgname=rtkit
|
pkgname=rtkit
|
||||||
version=0.11
|
version=0.11
|
||||||
revision=6
|
revision=7
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="LIBS=-lrt --with-systemdsystemunitdir=/usr/lib/systemd/system"
|
configure_args="LIBS=-lrt --with-systemdsystemunitdir=/usr/lib/systemd/system"
|
||||||
short_desc="Realtime Policy and Watchdog Daemon"
|
short_desc="Realtime Policy and Watchdog Daemon"
|
||||||
|
@ -17,6 +17,8 @@ makedepends="dbus-devel libcap-devel shadow"
|
||||||
post_install() {
|
post_install() {
|
||||||
# DBus configuration
|
# DBus configuration
|
||||||
vinstall ${FILESDIR}/org.freedesktop.RealtimeKit1.xml 644 usr/share/dbus-1/interfaces
|
vinstall ${FILESDIR}/org.freedesktop.RealtimeKit1.xml 644 usr/share/dbus-1/interfaces
|
||||||
|
# ControlGroup is obsolete since systemd>=205.
|
||||||
|
sed -e '/^ControlGroup.*/d' -i ${DESTDIR}/usr/lib/systemd/system/rtkit-daemon.service
|
||||||
}
|
}
|
||||||
|
|
||||||
rtkit_package() {
|
rtkit_package() {
|
||||||
|
|
Loading…
Reference in a new issue