Files
emb_cli/lib
Joel Winarske c8b6d34c15 fix(cross): read deb822 apt sources (trixie/raspios) for -dev resolution
The arm-gnu provider resolved the -dev closure only from one-line `deb …`
sources (sources.list + sources.list.d/*.list). Trixie (Debian 13) and current
raspios ship their sources in deb822 format (sources.list.d/*.sources with
Types/URIs/Suites/Components), so resolution failed with "no apt sources …
(cannot resolve -dev)".

- aptIndexUrls now parses both formats: one-line entries and deb822 stanzas
  (multi-value URIs/Suites/Components, trailing-slash URIs normalized,
  deb-src and Enabled:no skipped).
- _readAptSources also reads sources.list.d/*.sources and separates files with
  a blank line so one-line and deb822 stanzas never merge.

Fixes the publish-trixie job; publish-bookworm (one-line sources) already
worked. Tests cover deb822 and mixed one-line+deb822 inputs.

Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
2026-06-19 17:16:58 -07:00
..