mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 03:13:03 +02:00
rtkit: remove systemd build option (#1736)
This commit is contained in:
parent
b0bc748973
commit
540515dae8
1 changed files with 1 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'rtkit'
|
# Template file for 'rtkit'
|
||||||
pkgname=rtkit
|
pkgname=rtkit
|
||||||
version=0.11
|
version=0.11
|
||||||
revision=10
|
revision=11
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--sbindir=/usr/bin"
|
configure_args="--sbindir=/usr/bin"
|
||||||
short_desc="Realtime Policy and Watchdog Daemon"
|
short_desc="Realtime Policy and Watchdog Daemon"
|
||||||
|
@ -16,16 +16,7 @@ makedepends="dbus-devel libcap-devel"
|
||||||
system_accounts="rtkit"
|
system_accounts="rtkit"
|
||||||
rtkit_homedir="/proc"
|
rtkit_homedir="/proc"
|
||||||
|
|
||||||
build_options="systemd"
|
|
||||||
if [ "$build_option_systemd" ]; then
|
|
||||||
configure_args="--with-systemdsystemunitdir=/usr/lib/systemd/system"
|
|
||||||
fi
|
|
||||||
|
|
||||||
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
|
||||||
if [ "$build_option_systemd" ]; then
|
|
||||||
# ControlGroup is obsolete since systemd>=205.
|
|
||||||
sed -e '/^ControlGroup.*/d' -i ${DESTDIR}/usr/lib/systemd/system/rtkit-daemon.service
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue