Magisk/scripts
osm0sis 6fd357962f scripts: fix signing in recovery with addon.d-v1
- change to $TMPDIR in addon.d.sh since recovery addon.d-v1 backup + restore leaves you in /tmp/addon.d which the restore then deletes, which would break $BOOTSIGNER execution with the following:
    libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 1078 (main), pid 1078 (main)
    Segmentation fault
- also move $BOOTSIGNER execution to after `cd $MAGISKBIN` to ensure it's in a working directory in all cases
- addon.d.sh data mount wasn't doing anything since /data has to already be mounted for the script to be running, so move it into /system/addon.d/99-magisk.sh stub script where it might be useful on recoveries that don't mount /data initially

Fixes #2013
2019-11-03 03:00:08 -05:00
..
addon.d.sh scripts: fix signing in recovery with addon.d-v1 2019-11-03 03:00:08 -05:00
boot_patch.sh Update vars for 2SI 2019-09-22 06:45:23 -04:00
emulator.sh Allow upgrade Magisk daemon in emulator 2019-10-21 13:58:57 -04:00
flash_script.sh scripts: fix signing in recovery with addon.d-v1 2019-11-03 03:00:08 -05:00
magisk_uninstaller.sh Fix uninstaller missing recent changes 2019-05-09 20:28:48 -07:00
module_installer.sh Make on_install happen earlier to allow more customization 2019-03-31 15:37:12 -04:00
update_binary.sh scripts: hide expected x86 busybox error on arm 2019-09-01 02:19:59 +08:00
util_functions.sh scripts: fix signing in recovery with addon.d-v1 2019-11-03 03:00:08 -05:00