mirror of
https://abf.rosa.ru/djam/anbox.git
synced 2025-02-23 07:32:49 +00:00
Fix working, tweak README
This commit is contained in:
parent
3f7fab69ff
commit
0810d99547
4 changed files with 9 additions and 24 deletions
13
README.ROSA
13
README.ROSA
|
@ -18,20 +18,11 @@ You also need to download the Android image to /var/lib/anbox/android.img.
|
||||||
The path is important, since the systemd service metioned below will check it.
|
The path is important, since the systemd service metioned below will check it.
|
||||||
The pre-build image can be found at <https://build.anbox.io/android-images>.
|
The pre-build image can be found at <https://build.anbox.io/android-images>.
|
||||||
|
|
||||||
Then start the anbox-container-manager.service and the
|
After installing the anbox package, add anbox service to autostart and start it right now:
|
||||||
anbox-session-manager.service, anbox-session-manager.service is a systemd
|
|
||||||
user service.
|
|
||||||
|
|
||||||
Add lxc to autostart and start it right now:
|
|
||||||
|
|
||||||
sudo systemctl enable --now lxc
|
|
||||||
|
|
||||||
You can run following commands to manually start and enbale (add to autostart) the services:
|
|
||||||
|
|
||||||
sudo systemctl enable --now anbox-container-manager.service
|
sudo systemctl enable --now anbox-container-manager.service
|
||||||
systemctl --user enable --now anbox-session-manager.service
|
|
||||||
|
|
||||||
If the above commands all succeed, you can start the Android application from
|
If the above commands succeed, you can start the Android application from
|
||||||
desktop menu now. Or you launch application from command line:
|
desktop menu now. Or you launch application from command line:
|
||||||
|
|
||||||
anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity
|
anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Anbox Session Manager
|
|
||||||
Documentation=man:anbox(1)
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=/usr/bin/anbox session-manager
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=default.target
|
|
|
@ -4,7 +4,7 @@
|
||||||
Summary: Android in a box
|
Summary: Android in a box
|
||||||
Name: anbox
|
Name: anbox
|
||||||
Version: 0.0
|
Version: 0.0
|
||||||
Release: 0.git%{commit_short}.1
|
Release: 0.git%{commit_short}.2
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
Group: Emulators
|
Group: Emulators
|
||||||
Url: https://anbox.io
|
Url: https://anbox.io
|
||||||
|
@ -12,7 +12,7 @@ Source0: https://github.com/anbox/anbox/archive/%{commit}.tar.gz?/%{name}-%{comm
|
||||||
|
|
||||||
# Additional stuff from Debian
|
# Additional stuff from Debian
|
||||||
Source10: anbox-container-manager.service
|
Source10: anbox-container-manager.service
|
||||||
Source11: anbox-session-manager.service
|
Source11: org.anbox.service
|
||||||
Source12: anbox.desktop
|
Source12: anbox.desktop
|
||||||
Source13: anbox.1
|
Source13: anbox.1
|
||||||
Source14: README.ROSA
|
Source14: README.ROSA
|
||||||
|
@ -89,10 +89,10 @@ See %{_docdir}/anbox/README.ROSA for more information.
|
||||||
%{_datadir}/dbus-1/interfaces/org.anbox.ApplicationManager.xml
|
%{_datadir}/dbus-1/interfaces/org.anbox.ApplicationManager.xml
|
||||||
%{_datadir}/dbus-1/interfaces/org.anbox.Gps.xml
|
%{_datadir}/dbus-1/interfaces/org.anbox.Gps.xml
|
||||||
%{_datadir}/dbus-1/interfaces/org.anbox.Sensors.xml
|
%{_datadir}/dbus-1/interfaces/org.anbox.Sensors.xml
|
||||||
|
%{_datadir}/dbus-1/services/org.anbox.service
|
||||||
%{_datadir}/pixmaps/anbox.png
|
%{_datadir}/pixmaps/anbox.png
|
||||||
%{_datadir}/applications/anbox.desktop
|
%{_datadir}/applications/anbox.desktop
|
||||||
%{_mandir}/man1/anbox.1*
|
%{_mandir}/man1/anbox.1*
|
||||||
%{_userunitdir}/anbox-session-manager.service
|
|
||||||
%{_unitdir}/anbox-container-manager.service
|
%{_unitdir}/anbox-container-manager.service
|
||||||
%dir /var/lib/anbox
|
%dir /var/lib/anbox
|
||||||
|
|
||||||
|
@ -132,7 +132,7 @@ cp %{SOURCE14} README.ROSA
|
||||||
|
|
||||||
install -m0644 -D snap/gui/icon.png %{buildroot}%{_datadir}/pixmaps/anbox.png
|
install -m0644 -D snap/gui/icon.png %{buildroot}%{_datadir}/pixmaps/anbox.png
|
||||||
install -m0644 -D %{SOURCE10} %{buildroot}%{_unitdir}/anbox-container-manager.service
|
install -m0644 -D %{SOURCE10} %{buildroot}%{_unitdir}/anbox-container-manager.service
|
||||||
install -m0644 -D %{SOURCE11} %{buildroot}%{_userunitdir}/anbox-session-manager.service
|
install -m0644 -D %{SOURCE11} %{buildroot}%{_datadir}/dbus-1/services/org.anbox.service
|
||||||
install -m0644 -D %{SOURCE12} %{buildroot}%{_datadir}/applications/anbox.desktop
|
install -m0644 -D %{SOURCE12} %{buildroot}%{_datadir}/applications/anbox.desktop
|
||||||
install -m0644 -D %{SOURCE13} %{buildroot}%{_mandir}/man1/anbox.1
|
install -m0644 -D %{SOURCE13} %{buildroot}%{_mandir}/man1/anbox.1
|
||||||
install -m0755 -D scripts/anbox-bridge.sh %{buildroot}%{_datadir}/anbox/anbox-bridge.sh
|
install -m0755 -D scripts/anbox-bridge.sh %{buildroot}%{_datadir}/anbox/anbox-bridge.sh
|
||||||
|
|
3
org.anbox.service
Normal file
3
org.anbox.service
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[D-BUS Service]
|
||||||
|
Name=org.anbox
|
||||||
|
Exec=/usr/bin/anbox session-manager
|
Loading…
Add table
Reference in a new issue