Fix Android Termux all-features build #80

Merged
ober merged 1 commit from fix/android-termux-issues-72-77 into master 2026-09-12 20:43:13 -04:00
Owner

Summary

  • include packaged stdlib and all-feature vendor modules in the Android all-features boot image
  • preserve caller-provided embed passphrase files and keep Android/Termux shell portability patches in the extras build
  • avoid Android utmpx snapshot usage and move large Android boot blobs to assembler incbin embedding
  • unset only the exact Termux termux-exec LD_PRELOAD path at startup

Fixes #72
Fixes #73
Fixes #74
Fixes #75
Fixes #76
Fixes #77

Verification

  • bash -n support/patch-extras-build.sh
  • perl -c support/patch-android-builder.pl
  • git diff --check
  • make test-make-extras
  • make binary
  • ./jsh-macos -c 'echo hi'\n- clean bootstrap gate: make clean; git clean -xfd; absent vendor; make features-all; JSH_EMBED_PASSPHRASE_FILE= make binary; ./jsh-macos -c 'echo all-features-smoke'\n- make pre-pr-macos-linux-amd64-all
## Summary - include packaged stdlib and all-feature vendor modules in the Android all-features boot image - preserve caller-provided embed passphrase files and keep Android/Termux shell portability patches in the extras build - avoid Android utmpx snapshot usage and move large Android boot blobs to assembler incbin embedding - unset only the exact Termux termux-exec LD_PRELOAD path at startup Fixes https://git.jerboa.sh/ober/jerboa-shell/issues/72 Fixes https://git.jerboa.sh/ober/jerboa-shell/issues/73 Fixes https://git.jerboa.sh/ober/jerboa-shell/issues/74 Fixes https://git.jerboa.sh/ober/jerboa-shell/issues/75 Fixes https://git.jerboa.sh/ober/jerboa-shell/issues/76 Fixes https://git.jerboa.sh/ober/jerboa-shell/issues/77 ## Verification - bash -n support/patch-extras-build.sh - perl -c support/patch-android-builder.pl - git diff --check - make test-make-extras - make binary - ./jsh-macos -c 'echo hi'\n- clean bootstrap gate: make clean; git clean -xfd; absent vendor; make features-all; JSH_EMBED_PASSPHRASE_FILE=<temp> make binary; ./jsh-macos -c 'echo all-features-smoke'\n- make pre-pr-macos-linux-amd64-all
Fix Android Termux all-features build
Some checks failed
version-policy / required (pull_request) Failing after 3m58s
required-ci / required (pull_request) Has been cancelled
cdce2f488f
ober force-pushed fix/android-termux-issues-72-77 from cdce2f488f
Some checks failed
version-policy / required (pull_request) Failing after 3m58s
required-ci / required (pull_request) Has been cancelled
to 9d33a9f07e
Some checks failed
version-policy / required (pull_request) Successful in 3m51s
required-ci / required (pull_request) Has been cancelled
2026-09-12 20:22:48 -04:00
Compare
ober scheduled this pull request to auto merge when all checks succeed 2026-09-12 20:42:53 -04:00
ober merged commit 0777d7537f into master 2026-09-12 20:43:13 -04:00
ober referenced this pull request from a commit 2026-09-12 20:43:21 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ober/jerboa-shell!80
No description provided.