Backend+AK2: misc fixes
- fix fallback broken unzip detection now that we create a subdirectory prior - probably best to execute the bump/loki/whatever script using our included ash shell instead of the recovery sh.
This commit is contained in:
1 parent
a3cacd662e
commit
408d06aff0
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -90,7 +90,7 @@ write_boot() {
|
||||
ui_print " "; ui_print "New image larger than boot partition. Aborting..."; exit 1;
|
||||
fi;
|
||||
if [ -f "/data/custom_boot_image_patch.sh" ]; then
|
||||
sh /data/custom_boot_image_patch.sh /tmp/anykernel/boot-new.img;
|
||||
ash /data/custom_boot_image_patch.sh /tmp/anykernel/boot-new.img;
|
||||
if [ $? != 0 ]; then
|
||||
ui_print " "; ui_print "User script execution failed. Aborting..."; exit 1;
|
||||
fi;
|
||||
|
||||
Reference in new issue
Block a user