Rework debian packaging to include things from anbox-installer
This commit is contained in:
parent
5ecc7ca52b
commit
432bb8d58b
24 changed files with 498 additions and 82 deletions
6
data/anbox.conf.in
Normal file
6
data/anbox.conf.in
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
start on started dbus
|
||||
|
||||
respawn
|
||||
respawn limit 10 5
|
||||
|
||||
exec @SNAP_MOUNT_DIR@/anbox session-manager
|
||||
8
data/anbox.service.in
Normal file
8
data/anbox.service.in
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[Unit]
|
||||
Description=Anbox session manager
|
||||
|
||||
[Service]
|
||||
ExecStart=@SNAP_MOUNT_DIR@/anbox session-manager
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
11
data/xsession.conf
Normal file
11
data/xsession.conf
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# This file is sourced by Xsession(5), not executed.
|
||||
# Add additional anbox desktop path
|
||||
if [ -z "$XDG_DATA_DIRS" ]; then
|
||||
# 60x11-common_xdg_path does not always set XDG_DATA_DIRS
|
||||
# so we ensure we have sensible defaults here (LP: #1575014)
|
||||
# as a workaround
|
||||
XDG_DATA_DIRS=/usr/local/share/:/usr/share/:$HOME/snap/anbox/common/app-data
|
||||
else
|
||||
XDG_DATA_DIRS="$XDG_DATA_DIRS":$HOME/snap/anbox/common/app-data
|
||||
fi
|
||||
export XDG_DATA_DIRS
|
||||
Loading…
Add table
Add a link
Reference in a new issue