Add esvm service file
This commit is contained in:
3 files changed
+8
-1
No files matched your search
@@ -1,7 +1,7 @@
|
||||
name: switcheroo-control
|
||||
description: D-Bus service to check the availability of dual-GPU
|
||||
version: "3.0"
|
||||
revision: 2
|
||||
revision: 3
|
||||
url: https://gitlab.freedesktop.org/hadess/switcheroo-control
|
||||
license: GPL3-or-later
|
||||
maintainers:
|
||||
|
||||
@@ -23,6 +23,9 @@ package() {
|
||||
# Remove systemd directory
|
||||
rm -r "$BPM_OUTPUT"/usr/lib/systemd
|
||||
|
||||
# Install esvm service
|
||||
install -Dm644 "$BPM_WORKDIR"/switcheroo-control.esv "$BPM_OUTPUT"/etc/esvm/services/switcheroo-control.esv
|
||||
|
||||
# Install package license
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/switcheroo-control/COPYING
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
name: switcheroo-control
|
||||
description: start the switcheroo-control daemon
|
||||
type: background
|
||||
start_cmd: /usr/libexec/switcheroo-control
|
||||
Reference in new issue
Block a user