diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2026-10-15 08:19:48 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2026-10-15 08:19:48 +0000 |
| commit | db3fb428599c9c8fe105dcf4ba8d1c914c54cc26 (patch) | |
| tree | f83ab9920c39916777a35e5034a4cb9f43614da8 /src/include/s6-rc | |
| parent | 91a0655557e707977f583b2142bda898ee599fd8 (diff) | |
| download | s6-rc-main.tar.gz | |
If a db format upgrade is necessary, we need to compile the snapshot
with the new s6-rc-compile. There's data we need to pass to it that
isn't stored (options passed when committing the original set), so
we store it in the db itself (patching s6-rc-compile). We modify
the s6-rc-compile wrappers to pass all this metadata.
Next, we will compile the snapshot.
Diffstat (limited to 'src/include/s6-rc')
| -rw-r--r-- | src/include/s6-rc/repo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/s6-rc/repo.h b/src/include/s6-rc/repo.h index 6ecec15..6c9b17b 100644 --- a/src/include/s6-rc/repo.h +++ b/src/include/s6-rc/repo.h @@ -26,6 +26,7 @@ extern int s6rc_repo_ls (char const *, stralloc *, genalloc *) ; extern char const s6rc_repo_rxnames[4][7] ; extern uint32_t s6rc_repo_read_major (char const *) ; /* the major a db was compiled with */ +extern int s6rc_repo_install_needs_upgrade (char const *) ; extern int s6rc_repo_makestores (char const *, char const *const *, uint16_t, char *) ; |
