Skip to content

Fixes for building on Android Termux platform#6045

Closed
craigcomstock wants to merge 16 commits intocfengine:masterfrom
craigcomstock:CFE-4401-2/master
Closed

Fixes for building on Android Termux platform#6045
craigcomstock wants to merge 16 commits intocfengine:masterfrom
craigcomstock:CFE-4401-2/master

Conversation

@craigcomstock
Copy link
Contributor

  • 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)
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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant