Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide TMPDIR for boot image repacking (tiann#2458)
/data/local/tmp is never writable for normal apps, why previously it works is that Rust's temp_dir() gets path from env, and since A13, TMPDIR is set to app's cache dir. This is not the case for A12, so it breaks. Fix it by set TMPDIR ourselves.
- Loading branch information