aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-02-16 16:32:11 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-02-16 16:32:11 -0300
commit199066290b7b7091ecbb291b56ecd569bc1e5997 (patch)
treec28786c85c5d16dca784b8f2fc18c07e08ee1211 /share
parent00af28fc5917bd5619fb27be52cb64e8aa45759c (diff)
downloadtrashman-199066290b7b7091ecbb291b56ecd569bc1e5997.tar.gz
trashman-199066290b7b7091ecbb291b56ecd569bc1e5997.tar.bz2
Anbox: switch back to the snap package
Diffstat (limited to 'share')
-rwxr-xr-xshare/trashman/anbox/unix/linux/debian/install15
1 files changed, 12 insertions, 3 deletions
diff --git a/share/trashman/anbox/unix/linux/debian/install b/share/trashman/anbox/unix/linux/debian/install
index 207c494..147a642 100755
--- a/share/trashman/anbox/unix/linux/debian/install
+++ b/share/trashman/anbox/unix/linux/debian/install
@@ -29,8 +29,17 @@ if ! grep -q "binder_linux" /etc/modules; then
fi
# Install anbox
-#snap install --devmode --beta anbox
-apt install anbox
+#apt install anbox
+snap install --devmode --beta anbox
+
+# Software rendering
+# https://docs.anbox.io/userguide/advanced/software_rendering.html?highlight=opengl
+snap set anbox software-rendering.enable=true
+snap restart anbox.container-manager
+
+# Overlay
+# https://docs.anbox.io/userguide/advanced/rootfs_overlay.html?highlight=overlay
+snap set anbox rootfs-overlay.enable=true
# Get a recent android image
wget $IMAGE.sha256sum -O /var/lib/anbox/android.img.sha256sum
@@ -38,7 +47,7 @@ wget $IMAGE -O /var/lib/anbox/android.img
cd /var/lib/anbox && sha256sum -c android.img.sha256sum || exit 11
# Start service
-service anbox-container-manager start
+#service anbox-container-manager start
# Run: one of these commands might work as a regular user
#snap run anbox.appmgr