Files
hermes-agent/scripts
Teknium f090ac7cb5 fix(pm): keep the libc probes identical in pm/store.py and install.sh
- pm/store.py::_elf_loader_is_musl: an interpreter path containing
  "/libc.so" no longer means glibc. glibc's loader is always ld-linux*;
  the only loader named libc.so is musl's own, so that shape is unknown.
- scripts/install.sh: hoist the PT_INTERP reader to a top-level
  _uv_elf_interp_libc (it was a nested function that bash defines
  globally anyway) and drop the new "an ld-linux loader exists on disk"
  fallback. pm/store.py has no such step, and Alpine with gcompat ships
  /lib/ld-linux-x86-64.so.2, so the two probes would disagree on the
  hosts the fallback exists for.
- Tests: an entry-point test drives current_target() on a Fedora-shaped
  glibc host (PT_INTERP at 0x10a000, /lib/ld-musl-x86_64.so.1 on disk);
  the install.sh tests keep main's "musl ELF beats a glibc ldd" stub,
  pin uname so arm64 runners pick the same row, and run the past-8K
  case with no ldd and a musl loader on disk so only PT_INTERP decides.
  The probe-order test is trimmed to the two invariants.
2026-12-01 03:05:50 -08:00
..
…
…
…