mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
sys-apps/fwupd: Revbump to fix init script with USE="elogind"
Closes: https://bugs.gentoo.org/682140 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
description="Firmware update daemon"
|
||||
pidfile="/var/run/fwupd.pid"
|
||||
command="/usr/libexec/fwupd/fwupd"
|
||||
command_background="true"
|
||||
|
||||
depend() {
|
||||
need %SEAT_MANAGER% dbus
|
||||
before xdm
|
||||
}
|
||||
@@ -122,7 +122,11 @@ src_configure() {
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
doinitd "${FILESDIR}"/${PN}
|
||||
|
||||
sed "s@%SEAT_MANAGER%@$(usex elogind elogind consolekit)@" \
|
||||
"${FILESDIR}"/${PN}-r1 \
|
||||
> "${T}"/${PN} || die
|
||||
doinitd "${T}"/${PN}
|
||||
|
||||
if ! use systemd ; then
|
||||
# Don't timeout when fwupd is running (#673140)
|
||||
Reference in New Issue
Block a user