diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2026-10-18 00:37:42 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2026-10-18 00:37:42 +0000 |
| commit | 1b582b8db0dbfa8557c9976b131c7dd5d955f97f (patch) | |
| tree | 31afd2011a27aa6839ecb9f2ebc675904253bccd /src | |
| parent | 984a85c9f2bbb2ac58b8f5e0e25ac7672c74cf08 (diff) | |
| download | s6-frontend-1b582b8db0dbfa8557c9976b131c7dd5d955f97f.tar.gz | |
Prepare for 0.2.0.0; adjust s6 live install --init to new s6-rc
Diffstat (limited to 'src')
| -rw-r--r-- | src/s6-frontend/live_install.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/s6-frontend/live_install.c b/src/s6-frontend/live_install.c index 10861f3..49dab81 100644 --- a/src/s6-frontend/live_install.c +++ b/src/s6-frontend/live_install.c @@ -41,7 +41,7 @@ void live_install (char const *const *argv) uint64_t wgolb = 0 ; unsigned int m = 0 ; char const *wgola[GOLA_N] = { 0 } ; - char const *newargv[18] ; + char const *newargv[19] ; char fmtv[UINT_FMT] ; wgola[GOLA_SET] = "current" ; @@ -69,7 +69,11 @@ void live_install (char const *const *argv) newargv[m++] = "-f" ; newargv[m++] = wgola[GOLA_CONVFILE] ; } - if (wgolb & GOLB_INIT) newargv[m++] = "--no-update" ; + if (wgolb & GOLB_INIT) + { + newargv[m++] = "--no-update" ; + newargv[m++] = "--no-snapshot" ; + } newargv[m++] = "--" ; newargv[m++] = wgola[GOLA_SET] ; newargv[m++] = 0 ; |
