init: fix Tegra "APP" /system partition mounting
- thanks rootfan in https://github.com/topjohnwu/Magisk/issues/2063#issuecomment-573232567 Closes #2243
This commit is contained in:
parent
5b56ca7ffc
commit
793f0b605c
@ -211,7 +211,7 @@ void SARInit::early_mount() {
|
|||||||
if (dev < 0) {
|
if (dev < 0) {
|
||||||
// Try NVIDIA naming scheme
|
// Try NVIDIA naming scheme
|
||||||
strcpy(partname, "APP");
|
strcpy(partname, "APP");
|
||||||
dev = setup_block();
|
dev = setup_block(false);
|
||||||
if (dev < 0) {
|
if (dev < 0) {
|
||||||
// We don't really know what to do at this point...
|
// We don't really know what to do at this point...
|
||||||
LOGE("Cannot find root partition, abort\n");
|
LOGE("Cannot find root partition, abort\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user