Skip to content

CFE-4401: Fixes for building CFEngine core on Termux Android environment#270

Merged
craigcomstock merged 3 commits into
NorthernTechHQ:masterfrom
craigcomstock:CFE-4401
May 12, 2026
Merged

CFE-4401: Fixes for building CFEngine core on Termux Android environment#270
craigcomstock merged 3 commits into
NorthernTechHQ:masterfrom
craigcomstock:CFE-4401

Conversation

@craigcomstock
Copy link
Copy Markdown
Contributor

  • Add MaskTerminationSignalsInThread() from cf-reactor for sharing
  • On Android Termux fcntl file locks maybe arent supported at all. Make the debug message more specific about which file lock, wait or not, is failing.
  • ** Fixed check for copy_file_range on Android**

… the debug message more specific about which file lock, wait or not, is failing.
    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
@craigcomstock craigcomstock marked this pull request as ready for review May 7, 2026 13:09
@craigcomstock craigcomstock requested a review from larsewi May 7, 2026 13:09
@mender-test-bot
Copy link
Copy Markdown

There was an error running your pipeline, see logs for details.

@craigcomstock craigcomstock merged commit b0ea745 into NorthernTechHQ:master May 12, 2026
6 checks passed
@craigcomstock craigcomstock deleted the CFE-4401 branch May 12, 2026 14:15
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.

3 participants