X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/blobdiff_plain/15a644cdfe990d1eaecc21dd24209b82c07a4da3..f4591afdfeccc8c20e065367f3b890a8c2c223ce:/scripts/vendor-fixup.sh diff --git a/scripts/vendor-fixup.sh b/scripts/vendor-fixup.sh index 042f183..d101d55 100644 --- a/scripts/vendor-fixup.sh +++ b/scripts/vendor-fixup.sh @@ -1,7 +1,7 @@ #!/bin/bash mkdir /home/anbox/tmp_vendor -mount /home/anbox/anbox_arm64_vendor.img /home/anbox/tmp_vendor +mount /home/anbox/anbox_${1}_vendor.img /home/anbox/tmp_vendor SKU=`getprop ro.boot.product.hardware.sku` cp -p /vendor/etc/permissions/android.hardware.nfc.* /home/anbox/tmp_vendor/etc/permissions/ @@ -22,5 +22,6 @@ if [ -f /vendor/lib64/libladder.so ] && [ ! -f /home/anbox/tmp_vendor/lib64/libl wget https://github.com/GS290-dev/gigaset_gs290_dump/raw/full_k63v2_64_bsp-user-10-QP1A.190711.020-1597810494-release-keys/vendor/lib64/libladder.so cd ../../.. fi +sed -i "s/-service/-service --desktop_file_hint=unity8.desktop/" /home/anbox/tmp_vendor/etc/init/android.hardware.graphics.composer@2.1-service.rc umount /home/anbox/tmp_vendor rm -rf /home/anbox/tmp_vendor