Skip to content

Embed a vdpm that can read the channel its own world is served on - #194

Merged
devnoname120 merged 1 commit into
masterfrom
fix/vdpm-reads-its-own-channel
Nov 23, 2026
Merged

devnoname120 merged 1 commit into
masterfrom
fix/vdpm-reads-its-own-channel

Conversation

@frangarcj

Copy link
Copy Markdown
Contributor

What does this change?

Moves the embedded vdpm from v0.1.4 to v0.1.6.

Why is this change needed?

vdpm-channel in v0.1.4 accepts manifest schema 1 and nothing else. The softfp channel is published with schema 2, the one that names the world, so an SDK installed from nightly-softfp cannot refresh its own channel:

==> Updating to the current packages of nightly-softfp
vdpm-channel: unsupported manifest schema version: /tmp/vdpm-refresh.IHo4IYMa/channel.json

The bootstrap gets past it because its seed is v0.1.6. The core then replaces the seed with the client it embeds, and from there vdpm refresh and everything built on it, install-all.sh included, fails on softfp. v0.1.6 accepts both schemas.

Testing

  • Reproduced on a fresh ubuntu-24.04 runner: bootstrap an SDK per channel, then run install-all.sh from a vdpm master checkout. nightly and 2026.08 install everything and link against zlib and libpng; nightly-softfp stops at the error above.
  • vdpm-channel.c read at each tag: v0.1.4 and v0.1.5 check schema_version != 1; v0.1.6 accepts 1 and 2.
  • v0.1.6 ships a bundle for each of the nine hosts in cmake/hosts.json.
  • tests/ci/test-bump-pins.sh, test-build-host-args.sh and tests/protocol/test-describe-lock.sh pass.
  • Not built into a core yet. No hardware or Vita3K involved: this is a host tool.

Compatibility

None for the target. The client an SDK ends up with after installation is the one every bootstrap already runs as its seed.

Third-party material

None

AI assistance

  • Claude Fable 5.2

Additional context

The softfp core in the channel is still sdk-vita_softfp-snapshot-20260828.667.1, so softfp only gets this once a core is built for that world.

The core embeds vdpm v0.1.4, whose vdpm-channel accepts manifest schema 1
and nothing else. The softfp channel is published with schema 2, the one
that names the world, so an SDK installed from nightly-softfp cannot
refresh its own channel:

  vdpm-channel: unsupported manifest schema version

The bootstrap gets past it because its seed is v0.1.6. The core then
replaces the seed with the client it embeds, and from there "vdpm refresh"
and everything built on it, install-all.sh included, fails on softfp.

v0.1.6 reads both schemas and ships a bundle for each of the nine hosts.

Assisted-by: Claude Fable 5.2

@devnoname120 devnoname120 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified the pin and release path; no blocking findings.

  • v0.1.6 is the annotated release for vdpm commit 74112e6, and the release has a bundle plus checksum sidecar for every one of the nine packaged hosts. The sidecars, aggregate SHA256SUMS, and GitHub release digests agree.
  • Reproduced the reported behavior against the live nightly-softfp manifest: the published v0.1.4 vdpm-channel rejects schema 2, while the published v0.1.6 binary validates it and reads world=vita_softfp and packages.database.name=vita_softfp.db.
  • Ran vdpm refresh nightly-softfp with both published bundles in Ubuntu 24.04. v0.1.4 fails at schema validation; v0.1.6 succeeds and writes the expected vita_softfp architecture, repository, and database configuration.
  • Compared buildscripts-ci describe for both vita and vita_softfp at the base and head. The only component-pin change is vdpm v0.1.4 to v0.1.6; both profiles receive new deterministic build IDs and versions.
  • The focused pin, build-host, lock, verification, vdpm-bundle, and core-package tests pass. The full PR build is green across all published hosts, the Windows bootstrap smoke test, release-tree grouping, and package tests.

The one-line pin change is sufficient because production builds consume the released host bundle selected by VDPM_TAG; no target ABI content is changed.

@devnoname120
devnoname120 merged commit 38d1e45 into master Nov 23, 2026
17 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants