aboutsummaryrefslogtreecommitdiffstats
path: root/src/repo/s6rc_repo_setcompile.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-10-15 08:19:48 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-10-15 08:19:48 +0000
commitdb3fb428599c9c8fe105dcf4ba8d1c914c54cc26 (patch)
treef83ab9920c39916777a35e5034a4cb9f43614da8 /src/repo/s6rc_repo_setcompile.c
parent91a0655557e707977f583b2142bda898ee599fd8 (diff)
downloads6-rc-db3fb428599c9c8fe105dcf4ba8d1c914c54cc26.tar.gz
More work on format-upgrade inclusion: real meta-information storageHEADmain
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/repo/s6rc_repo_setcompile.c')
-rw-r--r--src/repo/s6rc_repo_setcompile.c2
1 files changed, 1 insertions, 1 deletions
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 ;