@ohos-ports/pkg-fetch-openharmony-arm64
v14.20.0-beta.1
Published
Prebuilt openharmony/arm64 Node.js v14.20.0 base binary (node + pkg-fetch 3.4.2 VFS/snapshot patches, c-ares musl fix, built from source with OHOS clang-15 on HarmonyOS) for @ohos-ports/pkg. The asset name built-v14.20.0-openharmony-arm64 follows pkg-fetc
Maintainers
Keywords
Readme
@ohos-ports/pkg-fetch-openharmony-arm64
Prebuilt openharmony/arm64 Node.js v14.20.0 base binary for @ohos-ports/pkg (pkg 5.8.1 ohos-ports port).
- What:
built-v14.20.0-openharmony-arm64— Node.js v14.20.0 built from source on HarmonyOS (OHOS clang-15) with the full pkg-fetch 3.4.2 VFS/snapshot patch set, plus a one-line c-ares musl fix (patches/node-musl/001-...-for-musl.patch: undefHAVE_GETSERVBYPORT_R, musl has no_rnetdb variants). Linked with the OHOS clang linker, which signs at link time (.codesignsection); the file is page-aligned (47,837,184 B = 11,679 pages). - Why:
@ohos-ports/pkgseeds this asset into the local pkg-fetch cache (~/.pkg-cache/v3.4/built-v14.20.0-openharmony-arm64, honoringPKG_CACHE_PATH) so that--targets host(and explicitnode14/openharmony targets) resolve on a fresh install without any remote release asset (pkg-fetch publishes zero openharmony assets). - Provenance: built by the [email protected] openharmony migration (Round 3); sha256 is exported
from
require('@ohos-ports/pkg-fetch-openharmony-arm64').sha256. - Resign pipeline: after packing an executable on openharmony, run
harmonyos-resign-pipeline.sh <baseAlignedSize> <packed> <out>(also shipped inside@ohos-ports/pkg/scripts/) — pkg packs by in-place placeholder edits + payload append, which invalidates the pre-link signature; the pipeline truncates to page boundary, re-signs withbinary-sign-tool, zero-pads, then re-appends the payload.
License: Node.js is MIT-licensed (bundled third-party deps under their own OSS licenses).
