Fixes for building on Android Termux platform#6045
Closed
craigcomstock wants to merge 16 commits intocfengine:masterfrom
Closed
Fixes for building on Android Termux platform#6045craigcomstock wants to merge 16 commits intocfengine:masterfrom
craigcomstock wants to merge 16 commits intocfengine:masterfrom
Conversation
Contributor
craigcomstock
commented
Feb 13, 2026
- Adjusted use of pthreads for Android/Termux platform
- Take patch in downstream termux-packages project and adjust to use HAVE_PTHREAD_CANCEL instead of ANDROID
- updated termux make/install instructions
- help compilation from source on android termux platform
- transition to MaskTerminationSignalsInThread() (from libntech soon) and SIGHUP
- Fixed check for copy_file_range on Android
- build and install scripts
- INSTALL version for termux but out-of-sync because based on master instead of this old CFE-4401-2/master branch
- update install script for -j8 and sync libntech for android
- FP4
- Added Termux Linux Environment (Android) for sys.os_name_human
- with os name human
- replace egrep and fgrep with grep -E and grep -F
- with fgrep
- termux install instructions update
- In case of too many args on command line be more clear about what was provided
Android/Termux doesn't have pthread_cancel so use pthred_kill instead Ticket: CFE-4401 Changelog: title (cherry picked from commit ebd52a29238122c4bcc2f86d2313f9f4a258243c) (cherry picked from commit 1e965d3)
…VE_PTHREAD_CANCEL instead of __ANDROID__ https://github.com/termux/termux-packages/blob/master/packages/cfengine/pthread_cancel.patch Ticket: CFE-4401 Changelog: none (cherry picked from commit 5cebd75)
AC_CHECK_FUNCS apparently doesn't take into account the __ANDROID_API__ level properly and so incorrectly determines that copy_file_range is available for termux at API 24 but copy_file_range is <= 34. Ticket: none Changelog: none
…stead of this old CFE-4401-2/master branch
We already supported and included the termux class. This change removes noise when running components like cf-agent. Ticket: CFE-4427 Changelog: title
… provided We have a case where in Mission Portal the Run Agent button causes a Too many arguments error from Windows agents. This change seeks to understand why. Ticket: ENT-13530 Changelog: none
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.