Fix error causing BLOCK_BASED_OTA to fail update

This commit is contained in:
ggow
2015-12-21 14:10:48 +00:00
parent 8682b484cf
commit 5d22924e29
+2
View File
@@ -1,4 +1,6 @@
mount("ext4", "EMMC", "/dev/block/platform/mtk-msdc.0/by-name/system", "/system", "");
symlink("/system/framework/org.cyanogenmod.platform.jar", "/system/framework/fireossvc.jar");
delete("/system/bin/install-recovery.sh");
rename("/system/bin/new-install-recovery.sh", "/system/bin/install-recovery.sh");
set_metadata("/system/etc/install-recovery-2.sh", "uid", 0, "gid", 0, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:install_recovery_exec:s0");
unmount("/system");