]> glassweightruler.freedombox.rocks Git - waydroid.git/blob - scripts/install.sh
anbox: Bind mount media dev nodes needed by mtk
[waydroid.git] / scripts / install.sh
1 #!/bin/bash
2
3 # run as root/with sudo
4
5 mount -o remount,rw /
6
7 # disable MTP/ADB to have USB network
8 echo "manual" > /etc/init/mtp-state.override
9
10 # remove LD_LIBRARY_PATH from /etc/environment to make life easier
11 sed -i -e "s/^LD_LIBRARY_PATH/#LD_LIBRARY_PATH/" /etc/environment
12
13 apt update
14 apt install -y qtwayland5 qml-module-qtwayland-compositor
15 mount -o remount,ro /
16
17 chown -R phablet:phablet /home/phablet/pure-qml
18
19 cd /home/anbox
20 tar xfpz data.tar.gz --numeric-owner
21 mkdir -p rootfs