Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide TMPDIR for boot image repacking #2458

Merged
merged 1 commit into from
Feb 21, 2025
Merged

Provide TMPDIR for boot image repacking #2458

merged 1 commit into from
Feb 21, 2025

Conversation

aviraxp
Copy link
Contributor

@aviraxp aviraxp commented Feb 20, 2025

/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.

/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.
@aviraxp
Copy link
Contributor Author

aviraxp commented Feb 20, 2025

need test

@aviraxp
Copy link
Contributor Author

aviraxp commented Feb 21, 2025

works

@tiann tiann merged commit f33b12c into tiann:main Feb 21, 2025
14 checks passed
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Feb 21, 2025
/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.
rsuntk pushed a commit to rsuntk/KernelSU that referenced this pull request Feb 22, 2025
/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.
rsuntk pushed a commit to rsuntk/KernelSU that referenced this pull request Feb 22, 2025
/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.
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Feb 22, 2025
/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.
backslashxx pushed a commit to backslashxx/KernelSU that referenced this pull request Feb 22, 2025
/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.
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Feb 23, 2025
/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.
YumeMichi added a commit to YumeMichi/KernelSU that referenced this pull request Feb 25, 2025
* 'main' of https://github.com/tiann/KernelSU:
  ksud: migrate to Rust 2024 edition
  ksud: upgrade nom to 8.0
  build(deps): bump the npm group in /website with 18 updates (tiann#2460)
  Translations update from Hosted Weblate (tiann#2425)
  build(deps): bump the crates group across 1 directory with 17 updates (tiann#2472)
  website: update translation (tiann#2471)
  Update Dependencies (tiann#2440)
  FAQ Slight spelling fix (tiann#2470)
  manager: allow multiple modules to be installed sequentially (tiann#2459)
  FAQ Edit regarding KernelSU support and wording change. (tiann#2468)
  Fix reference count leak in nuke_ext4_sysfs() (tiann#2467)
  fix: crash tiann#2463 (tiann#2465)
  feat: properly set OkHttp header (tiann#2463)
  Provide TMPDIR for boot image repacking (tiann#2458)
  manager: refine flashing module utilities
backslashxx pushed a commit to backslashxx/KernelSU that referenced this pull request Feb 25, 2025
/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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants