mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-12 13:17:39 +02:00
Rename rules to preinit
It is possible that we will allow more preinit files for modules. Rename the partition and folders from rules to preinit.
This commit is contained in:
@ -63,9 +63,9 @@ export KEEPFORCEENCRYPT=true
|
||||
echo "KEEPVERITY=$KEEPVERITY" > config
|
||||
echo "KEEPFORCEENCRYPT=$KEEPFORCEENCRYPT" >> config
|
||||
if [ -e "/system/bin/linker64" ]; then
|
||||
echo "RULESDEVICE=$(./magisk64 --rules-device)" >> config
|
||||
echo "PREINITDEVICE=$(./magisk64 --preinit-device)" >> config
|
||||
else
|
||||
echo "RULESDEVICE=$(./magisk32 --rules-device)" >> config
|
||||
echo "PREINITDEVICE=$(./magisk32 --preinit-device)" >> config
|
||||
fi
|
||||
# For API 28, we also patch advancedFeatures.ini to disable SAR
|
||||
# Manually override skip_initramfs by setting RECOVERYMODE=true
|
||||
|
Reference in New Issue
Block a user