mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-20 06:18: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} " +
|
"KEEPVERITY=${Config.keepVerity} " +
|
||||||
"PATCHVBMETAFLAG=${Config.patchVbmeta} " +
|
"PATCHVBMETAFLAG=${Config.patchVbmeta} " +
|
||||||
"RECOVERYMODE=${Config.recovery} " +
|
"RECOVERYMODE=${Config.recovery} " +
|
||||||
|
"SYSTEM_ROOT=${Info.isSAR} " +
|
||||||
"sh boot_patch.sh $srcBoot")
|
"sh boot_patch.sh $srcBoot")
|
||||||
|
|
||||||
if (!cmds.sh().isSuccess)
|
if (!cmds.sh().isSuccess)
|
||||||
|
@ -22,7 +22,7 @@ android {
|
|||||||
ndkBuild {
|
ndkBuild {
|
||||||
// Pass arguments to ndk-build.
|
// Pass arguments to ndk-build.
|
||||||
arguments(
|
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