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