Fix SYSTEM_ROOT not passed to boot patch

This commit is contained in:
LoveSy
2023-03-03 15:29:59 +08:00
committed by John Wu
parent c279e08c88
commit b6ea5b8984
2 changed files with 2 additions and 1 deletions

View File

@@ -366,6 +366,7 @@ abstract class MagiskInstallImpl protected constructor(
"KEEPVERITY=${Config.keepVerity} " +
"PATCHVBMETAFLAG=${Config.patchVbmeta} " +
"RECOVERYMODE=${Config.recovery} " +
"SYSTEM_ROOT=${Info.isSAR} " +
"sh boot_patch.sh $srcBoot")
if (!cmds.sh().isSuccess)