Commit f030d19
committed
node: Fix generator ripgrep binary mappings and add missing architectures
The @vscode/ripgrep package postinstall script expects specific binary
variants for each architecture. This patch:
1. Fixes aarch64 to use musl variant instead of gnu
- Both variants exist, but postinstall expects musl
- Aligns with x86_64 and i386 (which also use musl)
2. Adds missing architecture mappings for ppc64, riscv64, and s390x
- These architectures are supported by @vscode/ripgrep
- Uses gnu variants (only available option for these arches)
This causes the postinstall script to fail to find the cached binary
and attempt to download from GitHub, which fails in offline build
environments (RPM builds, air-gapped systems, etc).
The mappings now match exactly what the postinstall script expects:
https://github.com/microsoft/vscode-ripgrep/blob/main/lib/postinstall.js#L38-L47
Assisted-by: Claude Code1 parent 3fc0620 commit f030d19
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | | - | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
311 | 314 | | |
312 | 315 | | |
313 | 316 | | |
| |||
0 commit comments