From a57f4a3d7e4b123a6bdea177001e4944590eac05 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 4 Aug 2013 09:56:06 +0200 Subject: [PATCH] rtkit: drop obsolete (since systemd>=205) ControlGroup setting from rtkit-daemon.service. --- srcpkgs/rtkit/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/rtkit/template b/srcpkgs/rtkit/template index 6124fefeca2..c28fefd1b76 100644 --- a/srcpkgs/rtkit/template +++ b/srcpkgs/rtkit/template @@ -1,7 +1,7 @@ # Template file for 'rtkit' pkgname=rtkit version=0.11 -revision=6 +revision=7 build_style=gnu-configure configure_args="LIBS=-lrt --with-systemdsystemunitdir=/usr/lib/systemd/system" short_desc="Realtime Policy and Watchdog Daemon" @@ -17,6 +17,8 @@ makedepends="dbus-devel libcap-devel shadow" post_install() { # DBus configuration 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() {