mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-30 13:35:27 +00:00
Add cache magisk image merging support
This commit is contained in:
parent
d58a8dc868
commit
1472dbb291
@ -394,6 +394,10 @@ static void simple_mount(const char *path) {
|
||||
|
||||
static int prepare_img() {
|
||||
// First merge images
|
||||
if (merge_img("/cache/magisk.img", MAINIMG)) {
|
||||
LOGE("Image merge /cache/magisk.img -> " MAINIMG " failed!\n");
|
||||
return 1;
|
||||
}
|
||||
if (merge_img("/data/magisk_merge.img", MAINIMG)) {
|
||||
LOGE("Image merge /data/magisk_merge.img -> " MAINIMG " failed!\n");
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user