Skip to content

feat: the PICO 4's signed updates (interface 2.2), and overpressure/packages 2026.12.2 with the updater and the setup in the client's look - #175

Merged
Xenolphthalein merged 13 commits into
mainfrom
feat/update-build
Dec 2, 2026
Merged

Xenolphthalein merged 13 commits into
mainfrom
feat/update-build

Conversation

@Xenolphthalein

Copy link
Copy Markdown
Contributor

What and why

The PICO 4's side of updates on the headset: what its updates are made of, the key they are checked with, the
boot image's recipe the headset makes its own boot image by, and the packages release that brings the updater, the
Updates page in Overpressure Settings and the setup in its new order and look. overpressure/overpressure#111 (on
main) made the update, the updater and the recovery's install, as headset interface 2.2.

For overpressure/overpressure#88.

  • What an update is made of (Headset.update_build, headset.json on interface 2.2): the build tree an install
    sends, the kernel files kernel.json pins and the boot image's recipe; tests/test_update_build.py.
  • boot.json: the installed system's boot image's recipe (its command line words, the stock words dropped, the
    ABL's 511 bytes). boot_images.py builds by it through overpressure's kernelimage.installed_boot, and the
    headset's own update reads it alike: the same bytes as before. The development loop's build tree carries it.
  • The update key: initramfs/etc/overpressure/update.pub in every recovery image and, through build.sh, in the
    installed system, where the updater checks a download as the recovery does. Its private half is the repository's
    UPDATE_KEY secret, which the release workflow passes to overpressure's headset-release.yml to sign the
    release's update.
  • Offline builds: userspace/build-host.json locks the build host's Python by SHA-256, and the fan program's
    prefetch is data (userspace/prefetch.json), so the recovery builds an update without a network.
  • overpressure/packages
    2026.12.2
    (feat: updates on the headset in Overpressure Settings, the updater's units, and the setup and Settings in the client's look packages#52):
    • overpressure-base 2026.12.2-2: the updater's units, its daily check and the polkit rule for the session.
    • pico4-monado 25.1.0-23: Updates in Overpressure Settings; the setup and Settings in the client's look, the
      setup in its new order (controllers, lens distance, language, time zone, Wi-Fi, Ready); About with every
      part's version.
    • pico4-session 2026.12.2: SteamVR's server keeps off Steam's API while the setup holds the client back, so a
      long setup no longer ends in SteamVR restarting.
  • Documents: Updates and the setup's new order for owners (using.md, the README's Updates on the headset),
    the setup's look, order and worn results (onboarding.md), the panels' scrolling (controllers.md), boot.json
    in kernel.md.

Checks

  • The host tests, ruff format, ruff check and ty, check-docs (no broken link, the README as its template).
  • The release's SHA256SUMS against the pin; every kernel contract with the pinned packages commit
    (kernel contracts).
  • kernelimage installed-boot by boot.json gives dev boot-image's bytes from the PICO 4's recovery image
    and phoenix/7.2-11.
  • No serials, vendor files or private data (check-private.py --repo devices/phoenix --history).

Hardware

On a PICO 4, a system built on the headset from this branch and overpressure/packages#52, with a test key in its
recovery and installed system:

  • The Updates page found a test update from a local feed, downloaded it and installed it through Restart and
    install
    ; the data kept.
  • An update staged with dev stage-update, installed through Apply update in the recovery's menu; the staged
    files gone, the data kept.
  • Worn: the setup in its new order and look, the thumbstick moving the lenses and scrolling the lists, both
    controllers connected skipping their page; Overpressure Settings' home, Lenses and About.
  • SteamVR in the setup for 12 minutes after the client had started before: finishing the setup worn kept the
    session.
  • The recovery's install screen with "Keep the headset switched on" and "This may take up to 10 minutes" (needs
    a recovery flash).
  • Try again after a failed install; the battery and space refusals; a download going on after a network drop;
    the daily timer's check.
  • A release signed with the real key, end to end (the first release with an update).

…terface 2.2)

A release's signed update (overpressure/overpressure#88) takes the tree an install sends (the profile's build tree,
the same files by recovery.tree_source), the build's stamps and the two kernel files the installed system's boot
image is made of, Image.gz and the device tree kernel.json's build names. The release passes its UPDATE_KEY secret
to overpressure's release workflow, which signs the update once overpressure.json pins an overpressure release.
…the headset's own update reads too

boot_images.py's words for the installed system, the stock words Valve's kernel does not take and the ABL's limit
are boot.json now, in the build tree an install and an update send. dev boot-image and the installer make the
installed system's boot image with overpressure's kernelimage.installed_boot by it, so the headset makes the same
bytes for an update (overpressure/overpressure#88): from the real recovery image and phoenix/7.2-11, the same
SHA-256 as before.
… every recovery image

Its private half is the repository's UPDATE_KEY secret, with which overpressure's release workflow signs each
release's update (overpressure/overpressure#88); overpressure-install's OP_UPDATE_KEY reads it from
/etc/overpressure/update.pub.
…r an update's offline build

overpressure's prefetch lock-host wrote it from the pinned Holo snapshot: python and the 29 packages it takes. Each
is checked by the lock, and the headset's build installs them from the files, offline (overpressure/overpressure#88).
…etup and Settings in the client's look

overpressure-base 2026.12.2-2: the updater's units, its daily check and the polkit rule for the session.
pico4-monado 25.1.0-23: Updates in Overpressure Settings; the setup and Settings in the client's look, the
setup in its new order.
pico4-session 2026.12.2: SteamVR's server keeps off Steam's API while the first-run setup holds the client back.
@Xenolphthalein
Xenolphthalein requested a review from a team as a code owner December 2, 2026 20:46
@Xenolphthalein
Xenolphthalein merged commit 3804505 into main Dec 2, 2026
9 checks passed
@Xenolphthalein
Xenolphthalein deleted the feat/update-build branch December 2, 2026 20:48
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.

1 participant