aboutsummaryrefslogtreecommitdiffstats
path: root/src/repo/s6-rc-set-install.c
Commit message (Collapse)AuthorAgeFilesLines
* Part four: we delete all the snapshots after set-installLaurent Bercot20 hours1-1/+27
| | | | | | | | | | Except the snapshot corresponding to the new live db, of course. Also, in order to accommodate snapshots without risking name conflicts, the real name of set foobar isn't .foobar:XXXXXX anymore, but .real.foobar:XXXXXX Now the automatic upgrade in case of major bump is complete. Next comes testing and debugging.
* Third part of the format-upgrade inclusion: add support in s6-rc-set-installLaurent Bercot40 hours1-90/+233
| | | | | | | | | | | | | | | | | | | | | | | | | Now that everything is in place, we go for the main thing: add snapshot support to s6-rc-set install. The workflow is: - check the major version of the old db against the current s6-rc - if the old db is up to date, nothing changes - otherwise: + find the snapshot corresponding to the old db + compile it + copy the snapshot db to the bootdir + call s6-rc-format-upgrade on it + atomically switch the bootdb to it. At this point the snapshot is the new bootdb: same as the old db, but with the correct major version. + unconditionally remove the old db + and now we can perform the regular s6-rc-update with the wanted set, since they have the same major. We also add --no-snapshot options to s6-rc-set-commit and s6-rc-set-install, and propagate them in the supporting functions, so users can manually skip all this bloat (and this is important for the initial install). All that remains is cleaning up obsolete snapshots. This will probably go at the end of s6-rc-set-install as well.
* And add similar options to s6-rc-set-installLaurent Bercot2026-01-241-2/+6
| | | | | s6-rc-set-install downs essential services by default. This is different from the s6-rc-update default.
* Option is --no-update, not ----no-update. Also fix dotpc.Laurent Bercot2026-01-191-1/+1
|
* Add --no-update option to s6-rc-set-installLaurent Bercot2026-01-171-56/+62
|
* s6-rc-set-install fixesLaurent Bercot2025-12-211-21/+32
|
* Next batch of fixesLaurent Bercot2025-12-091-2/+1
|
* Some bugfixesLaurent Bercot2025-12-081-0/+2
|
* Finish repo documentation; make bootdb configurable; fix installLaurent Bercot2025-10-301-17/+25
|
* Add missing doc pagesLaurent Bercot2025-10-301-1/+1
|
* Add s6-rc-set-install, repodefs pageLaurent Bercot2025-10-061-0/+205