README.md (1231B)
1 # patina-updater 2 3 Sector F Linux's updater: a [Patina](https://github.com/Sector-F-Labs/patina) app that comes with the 4 OS. It shows what the system is running, checks a registry for a newer build, stages the update, and 5 switches the system to another registry. See 6 [ADR-0016](../docs/adr/0016-an-updater-app-and-ghcr-as-the-default-registry.md). 7 8  9 10 When an update fails, what the system said is shown under the log, in red (here from the mock): 11 12  13 14 - **Registry:** the default is `ghcr.io/sector-f-labs/sector-f-linux:latest`; others can be added and 15 switched to, after a confirmation. 16 - **Update / Check / Roll back** are in the window and its Update menu. 17 - Changes to the system run through `/usr/libexec/patina-update` with pkexec (a password, once in a while). 18 19 ## Build 20 21 ``` 22 make # the targets 23 make run # on the mock: a fake system and a fake update, in a window 24 make check # tests, the helper's rule against the app's, clippy, fmt 25 ``` 26 27 From the repository root, `make updater` builds it for the image, and `make build` does that with 28 everything else. 29 30 ## Licence 31 32 GPL-2.0, as the rest of Sector F Linux.