diff options
author | osm0sis <osm0sis@outlook.com> | 2020-01-27 16:25:21 -0400 |
---|---|---|
committer | osm0sis <osm0sis@outlook.com> | 2020-01-27 16:25:21 -0400 |
commit | c35c7ce35813d2c6c76c582bed016ad3aeeb5cf7 (patch) | |
tree | a7190308626818900f77bbbc558eb02e0d53c648 /tools | |
parent | 03af96a5415cd0b508e542a1ed8c9eb386c322a6 (diff) |
AK3+Backend: /postinstall and opposite slot awareness for FlashAfterUpdate addon.d-v2 support
- for A/B OTAs my FlashAfterUpdate addon.d script requires the zip to know about addon.d-v2 and act accordingly
- signify support with #FLASHAFTERUPDATEV2 tag in updater-script to pass whitelist check since the majority of zips will not work correctly
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/ak3-core.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/ak3-core.sh b/tools/ak3-core.sh index 9c325d0..b9d238f 100755 --- a/tools/ak3-core.sh +++ b/tools/ak3-core.sh @@ -685,6 +685,9 @@ setup_ak() { test "$slot" && slot=_$slot; fi; if [ "$slot" ]; then + if [ -d /postinstall/tmp -a ! "$slot_select" ]; then + slot_select=inactive; + fi; case $slot_select in inactive) case $slot in |