A seventh pm target (linux-arm64-bionic) stages the TUR python3.11 .deb, the termux nodejs/uv .debs, and their runtime-lib deps into the payload -- same pm-consumer shape as the desktop legs: pm owns the pin, the hardened download (redirect-safe, retry-wrapped), the ar+tar DebPackage extraction, and file-evidence verify for binaries the staging host cannot execute.
12 lines
529 B
Bash
12 lines
529 B
Bash
#!/usr/bin/env bash
|
|
# Stage the pinned bionic uv (pm package `uv`, linux-arm64-bionic lock row
|
|
# -- the termux-main uv .deb) into <payload>/uv/. Same pm-consumer shape
|
|
# as build_cpython/build_node: pm owns the pin, the download, the hardened
|
|
# extraction, and the file-evidence verify. No PATH install -- hermes's
|
|
# resolvers compose the payload env at runtime (desktop payload model).
|
|
#
|
|
# Usage: build_uv.sh <payload-dir>
|
|
set -euo pipefail
|
|
HERE="$(cd "$(dirname "$0")" && pwd)"
|
|
exec bash "$HERE/termux_pkg_build.sh" uv uv "$@"
|