Skip to content

Commit 9506de4

Browse files
Fixed(posts/general/2024-11-11-termux-selected-for-nlnet-ngi-mobifree-grant): Fix typo
1 parent a541bdf commit 9506de4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: _posts/en/general/2024-11-11-termux-selected-for-nlnet-ngi-mobifree-grant.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Android restricts execution based on SeLinux policies and contexts assigned to a
6767

6868
Termux package sources will be patched to read paths from environment variables exported by the app, or compiled package files will be patched at install time, rather than relying on hardcoded paths in the package files to Termux rootfs.
6969

70-
Termux packages currently use hardcoded paths/variables that are added/replaced in package sources at build time for its Termux rootfs directory `/data/data/com.termux/files` under the app data directory that Android is expected to assign to the Termux app if its installed in the primary Android user `0`. This prevents Termux packages to run if Termux app is installed in secondary users/work profiles, or on external sdcards, or if packages are running in a external party app with a different app data or rootfs directory, unless packages are compiled specifically for the different rootfs path.
70+
Termux packages currently use hardcoded paths/variables that are added/replaced in package sources at build time for its Termux rootfs directory `/data/data/com.termux/files` under the app data directory that Android is expected to assign to the Termux app if its installed in the primary Android user `0`. This prevents Termux packages to run if Termux app is installed in secondary users/work profiles, or on external sdcards, or if packages are running in an external app with a different app data or rootfs directory, unless packages are compiled specifically for the different rootfs path.
7171

7272
There are currently around `~4000` placeholders in package source/patch files that are replaced at build time with Termux variables. There are also additional variables passed as build time config to package source builder scripts. To solve the issues of hardcoded values, following will be done.
7373
- The sources of any executable files of the package will be patched at build time with package source language specific code to read environment variables at runtime that are exported by the Termux app.

0 commit comments

Comments
 (0)