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:
osm0sis committed 2016-01-24 13:32:13 -04:00
1 parent a3cacd662e
commit 408d06aff0
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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;