Allow opting into 16 KiB ARM64 code pages for macOS signing (#50384)

Set `OAI_RCODESIGN_ARM64_16K_CODE_PAGES=true` to pass
`--arm64-16k-code-pages` when signing with `rcodesign`. The option is
disabled by default.

GitOrigin-RevId: ee7d4992f89a8fe2eb355fb2516a0188e7583812
This commit is contained in:
chess
2026-10-02 17:52:08 +00:00
committed by copyberry
parent 1ab8c6ef28
commit 2739e82858
@@ -202,6 +202,10 @@ sign_with_rcodesign() {
--pkcs11-key-label "$OAI_AKV_KEY_LABEL"
)
if [[ "${OAI_RCODESIGN_ARM64_16K_CODE_PAGES:-false}" == "true" ]]; then
rcodesign_args+=(--arm64-16k-code-pages)
fi
if [[ "$deep" == "false" ]]; then
rcodesign_args+=(--shallow)
fi