Maintenance¶
Updating pinned versions¶
manifest.yaml pins every external file by URL and SHA-256. To see what's newer:
Review the diff, copy build/manifest.bump.yaml over manifest.yaml if it looks right, then rebuild and test:
The nightly CI job does the same and opens a pull request when pins change.
Refreshing sticks in the field¶
| Change | What to do on existing sticks |
|---|---|
| New/updated offline ISO in the manifest | Boot the home base: sudo oneos-restock (or copy the ISO into ISO/) |
| New home-base ISO | Copy build/oneos-lightos.iso over ISO/oneos-lightos.iso on the stick, or re-flash |
| New Ventoy version / menu config | Re-flash (persistence data is lost — back it up first) |
Back up a user's persistence before re-flashing: sudo oneos-restock --backup-persistence, then copy persistence/lightos.dat.bak off the stick.
Release checklist¶
make lintandmake testgreen locally; nightly green (test-full).make bumpreviewed; no<PIN>placeholders (make lintenforces).- Flash one stick with the wizard; boot test passes.
- Run the hardware checklist on at least a UEFI laptop with Secure Boot, an older BIOS machine and a desktop with wired Ethernet.
- Record results in hardware results.
- Tag the release; the nightly job's
payload.tar.zst+SHA256SUMSare the artifacts.
Housekeeping¶
scripts/oneos-vm list # VM instances and their state
scripts/oneos-vm rm <name> # delete a stopped instance (overlay, logs)
make clean # images, payload, test runs (keeps cache/ and the ISO)
make distclean # everything generated
Wizard logs (build/wizard/) and build/flash-history.jsonl are kept until you delete them.