diff --git a/scripts/build.sh b/scripts/build.sh index be37309..9eee310 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -688,7 +688,7 @@ on post-fs-data mkdir /dev/$MAGISK_TMP_PATH/.magisk/mirror 0 mkdir /dev/$MAGISK_TMP_PATH/.magisk/block 0 mkdir /dev/$MAGISK_TMP_PATH/.magisk/worker 0 - exec u:r:magisk:s0 0 0 -- /system/bin/mknod -m 0600 /dev/$MAGISK_TMP_PATH/.magisk/block/rules b 8 0 + exec u:r:magisk:s0 0 0 -- /system/bin/mknod -m 0600 /dev/$MAGISK_TMP_PATH/.magisk/block/preinit b 8 0 copy /sbin/magisk.apk /dev/$MAGISK_TMP_PATH/stub.apk chmod 0644 /dev/$MAGISK_TMP_PATH/stub.apk rm /dev/.magisk_unblock