Skip to content

Revise environment variables and bindings for different image types#685

Merged
sylirre merged 3 commits into
masterfrom
fix/termux-env
Jun 16, 2026
Merged

Revise environment variables and bindings for different image types#685
sylirre merged 3 commits into
masterfrom
fix/termux-env

Conversation

@sylirre

@sylirre sylirre commented Jun 16, 2026

Copy link
Copy Markdown
Member

No description provided.

sylirre added 3 commits June 16, 2026 17:23
Apply image manifest Env in every mode (isolated, minimal, and
termux-type containers, which previously ignored it). Inherit Android
host vars only in the default mode (Termux, neither isolated nor
minimal); factor the var list into a shared ANDROID_HOST_ENV_VARS.

Termux-type containers no longer bind the host's /data/data/com.termux
or shared storage: non-isolated binds only Android system directories,
isolated/minimal binds no host directories. Normal-type bindings are
unchanged.
Shared storage (/storage, /sdcard) is host-domain Android storage, not
the per-distro /data/data/com.termux, so it should be visible to both
distro types in the default mode. Only the Termux app data binds stay
normal-type-only.
Split the Android data binds: /data/app, /data/dalvik-cache and
/data/misc/apexdata/com.android.art/dalvik-cache are Android-system
caches (not the Termux app's private data), so both distro types get
them in the default mode. The Termux app dirs (apps, cache, $HOME)
under /data/data/com.termux stay normal-type-only.
@sylirre
sylirre merged commit 9a08b99 into master Jun 16, 2026
6 checks passed
@sylirre
sylirre deleted the fix/termux-env branch June 16, 2026 17:59
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.

1 participant