Stop copy sepolicy.rule ()

This commit is contained in:
Howard Wu 2024-07-25 19:32:21 +08:00 committed by GitHub
parent 028a766d74
commit 599e027054
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 0 additions and 6 deletions

Binary file not shown.

Binary file not shown.

View file

@ -542,7 +542,6 @@ if [ "$HAS_GAPPS" ]; then
if [ -f "$GAPPS_IMAGE_PATH" ] && [ -f "$GAPPS_RC_PATH" ]; then
echo "Integrating GApps"
"$WORK_DIR/magisk/magiskboot" cpio "$WORK_DIR/wsa/$ARCH/Tools/initrd.img" \
"add 000 /lspolicy.rule sepolicy.rule" \
"add 000 overlay.d/gapps.rc $GAPPS_RC_PATH" \
"add 000 overlay.d/sbin/lsp_gapps.img $GAPPS_IMAGE_PATH" \
|| abort "Unable to patch initrd"

View file

@ -1,5 +0,0 @@
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
allow gmscore_app { system_server_tmpfs media_rw_data_file } filesystem getattr