Merge PR #520: [snap] add daemon mode
This commit is contained in:
commit
5f8e5ca73a
2
packaging/ubuntu/snap/hooks/configure
vendored
Executable file
2
packaging/ubuntu/snap/hooks/configure
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
snapctl restart $SNAP_NAME
|
||||
@ -18,6 +18,23 @@ architectures:
|
||||
- build-on: armhf
|
||||
|
||||
apps:
|
||||
daemon:
|
||||
daemon: simple
|
||||
environment:
|
||||
QT_IM_MODULE: qtvirtualkeyboard
|
||||
restart-condition: always
|
||||
command-chain:
|
||||
- bin/run-daemon
|
||||
- bin/desktop-launch
|
||||
- bin/wayland-launch
|
||||
command: usr/bin/nymea-app --kiosk
|
||||
plugs:
|
||||
- avahi-observe
|
||||
- bluez
|
||||
- network
|
||||
- opengl
|
||||
- wayland
|
||||
|
||||
nymea-app:
|
||||
command-chain: [ bin/desktop-launch ]
|
||||
command: usr/bin/nymea-app
|
||||
@ -57,6 +74,14 @@ parts:
|
||||
- xdg-user-dirs
|
||||
- fcitx-frontend-qt5
|
||||
|
||||
mir-kiosk-snap-launch:
|
||||
plugin: dump
|
||||
source: https://github.com/MirServer/mir-kiosk-snap-launch.git
|
||||
override-build: |
|
||||
${SNAPCRAFT_PART_BUILD}/build-with-plugs.sh opengl wayland
|
||||
stage-packages:
|
||||
- inotify-tools
|
||||
|
||||
nymea-app:
|
||||
plugin: qmake
|
||||
source: .
|
||||
|
||||
Reference in New Issue
Block a user