Change dbus service exec field for net.hadess.PowerProfiles.service
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: power-profiles-daemon
|
name: power-profiles-daemon
|
||||||
description: Makes power profiles handling available over D-Bus
|
description: Makes power profiles handling available over D-Bus
|
||||||
version: "0.30"
|
version: "0.30"
|
||||||
revision: 4
|
revision: 5
|
||||||
url: https://gitlab.freedesktop.org/upower/power-profiles-daemon
|
url: https://gitlab.freedesktop.org/upower/power-profiles-daemon
|
||||||
license: GPL3-only
|
license: GPL3-only
|
||||||
maintainers:
|
maintainers:
|
||||||
|
|||||||
@@ -26,8 +26,11 @@ package() {
|
|||||||
# Crate directory for persistent power states
|
# Crate directory for persistent power states
|
||||||
install -d "$BPM_OUTPUT"/var/lib/power-profiles-daemon
|
install -d "$BPM_OUTPUT"/var/lib/power-profiles-daemon
|
||||||
|
|
||||||
# Set Exec field in dbus service to power-profiles-daemon
|
# Set Exec field in dbus services to power-profiles-daemon
|
||||||
sed -i 's|^Exec=.*|Exec=/usr/libexec/power-profiles-daemon|' "$BPM_OUTPUT"/usr/share/dbus-1/system-services/org.freedesktop.UPower.PowerProfiles.service
|
sed -i 's|^Exec=.*|Exec=/usr/libexec/power-profiles-daemon|' \
|
||||||
|
"$BPM_OUTPUT"/usr/share/dbus-1/system-services/org.freedesktop.UPower.PowerProfiles.service \
|
||||||
|
"$BPM_OUTPUT"/usr/share/dbus-1/system-services/net.hadess.PowerProfiles.service
|
||||||
|
|
||||||
|
|
||||||
# Install esvm service
|
# Install esvm service
|
||||||
install -Dm644 "$BPM_WORKDIR"/power-profiles-daemon.esv "$BPM_OUTPUT"/etc/esvm/services/power-profiles-daemon.esv
|
install -Dm644 "$BPM_WORKDIR"/power-profiles-daemon.esv "$BPM_OUTPUT"/etc/esvm/services/power-profiles-daemon.esv
|
||||||
|
|||||||
Reference in New Issue
Block a user