Skip to content
This repository was archived by the owner on Apr 5, 2022. It is now read-only.

(Ethos) OS Updates

Michael Bullington edited this page Mar 9, 2021 · 3 revisions

Bloom System uses OSTree to build an immutable operating system, similar to A/B updates Android does.

  • System is still built using Ubuntu (currently 20.04) and 'has' apt although it doesn't work.
    • You can enable a shallow read (called a hotfix) with sudo ostree admin unlock --hotfix.
    • After this, apt update and apt install x should work.
    • I feel like we should put this under a dev_install_unsafe command.

Update System

Prior art:

updated

  • Daemon for checking updates
  • Since we use updated for both system and Market, we can initially compare /summary branch HEADs.
  • If on unmetered connection, check out OSTree and Market data.
  • Prompt user if on metered connection the size of delta.
  • If automatic updates are on (important), deploy to OSTree automatically.

In the future:

  • It would be amazing if we could do what eos-updater does and share OSTree branches across network with Zeroconf.

updatectl

  • CLI client for monitoring / checking updates.
  • Cronjob that checks updates 4x daily

Clone this wiki locally