From e8f1dff8086744f6b84f342e262e8d7e0bfddd8e Mon Sep 17 00:00:00 2001 From: LoveSy Date: Wed, 10 Nov 2021 16:57:26 +0800 Subject: [PATCH] Fix permission --- .github/workflows/magisk.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/magisk.yml b/.github/workflows/magisk.yml index e01cfb9..f8df904 100644 --- a/.github/workflows/magisk.yml +++ b/.github/workflows/magisk.yml @@ -241,7 +241,7 @@ jobs: sudo find system/system/{app,framework,priv-app} -type f -exec chcon --reference=system/system/framework/ext.jar {} \; ls gapps/etc/ | xargs -n 1 -I dir sudo find system/system/etc/dir -type f -exec chcon --reference=system/system/etc/permissions {} \; sudo find system/product/{app,etc,overlay,priv-app} -type f -exec chcon --reference=system/product/etc/permissions/privapp-permissions-venezia.xml {} \; - + chmod +x ./magisk/magiskpolicy sudo ./magisk/magiskpolicy --load system/vendor/etc/selinux/precompiled_sepolicy --save system/vendor/etc/selinux/precompiled_sepolicy "allow gmscore_app gmscore_app vsock_socket { create connect write read }" "allow gmscore_app device_config_runtime_native_boot_prop file read" "allow gmscore_app system_server_tmpfs dir search" "allow gmscore_app system_server_tmpfs file open" - name: Fix GApps prop if: ${{ github.event.inputs.gapps_variant != 'none' && github.event.inputs.gapps_variant != '' }}