]> glassweightruler.freedombox.rocks Git - waydroid.git/commitdiff
anbox: Kill host_hwbinder node in mainlines
authorErfan Abdi <erfangplus@gmail.com>
Mon, 14 Jun 2021 23:35:24 +0000 (04:05 +0430)
committerErfan Abdi <erfangplus@gmail.com>
Wed, 16 Jun 2021 20:50:09 +0000 (01:20 +0430)
scripts/install.sh

index 330dfdbf530ff821903e9bf29e6349e3b32dddea..f51def0f31c69f1d906959f01fe98e4988957832 100644 (file)
@@ -127,6 +127,9 @@ fi
 mv config_* config
 sed -i "s/LXCARCH/$UNAME_ARCH/" config
 wget https://github.com/Anbox-halium/anbox-halium/raw/lineage-17.1/lxc-configs/config_nodes
+if [ ! -e /dev/hwbinder ]; then
+        sed -i "/host_hwbinder/d" config_nodes
+fi
 
 if ! grep -q "module-native-protocol-unix auth-anonymous=1" /etc/pulse/touch-android9.pa; then
     echo "Pulseaudio config patching"