From db3fb428599c9c8fe105dcf4ba8d1c914c54cc26 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 15 Oct 2026 08:19:48 +0000 Subject: More work on format-upgrade inclusion: real meta-information storage 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. --- src/repo/s6rc_repo_setcompile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/repo/s6rc_repo_setcompile.c') diff --git a/src/repo/s6rc_repo_setcompile.c b/src/repo/s6rc_repo_setcompile.c index 1bdbea8..f894f64 100644 --- a/src/repo/s6rc_repo_setcompile.c +++ b/src/repo/s6rc_repo_setcompile.c @@ -13,7 +13,7 @@ int s6rc_repo_setcompile (char const *repo, char const *set, char const *defbund int r ; if (!s6rc_repo_makesetbundles(repo, set, verbosity)) return -1 ; if (!s6rc_repo_makedefbundle(repo, set, defbundle)) return -1 ; - r = s6rc_repo_compile(repo, set, rxs, 4, oldc, verbosity, fdhuser, catchall) ; + r = s6rc_repo_compile(repo, set, rxs, 4, oldc, verbosity, fdhuser, catchall, defbundle) ; { int e = errno ; -- cgit v1.3.1