mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-17 11:58:28 +00:00
Fix SYSTEM_ROOT not passed to boot patch
This commit is contained in:
parent
c279e08c88
commit
b6ea5b8984
@ -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)
|
||||
|
@ -22,7 +22,7 @@ android {
|
||||
ndkBuild {
|
||||
// Pass arguments to ndk-build.
|
||||
arguments(
|
||||
"B_MAGISK=1", "B_INIT=1", "B_BOOT=1", "B_TEST=1", "B_POLICY=1", "B_PRELOAD=1"
|
||||
"B_MAGISK=1", "B_INIT=1", "B_BOOT=1", "B_TEST=1", "B_POLICY=1", "B_PRELOAD=1", "B_PROP=1"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user