aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/mbf/cache.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-05 21:33:27 +0900
committerOphestra <cat@gensokyo.uk>2026-05-05 23:56:16 +0900
commit15cdb37ec29056890a44f5a5b22f4917b81c5781 (patch)
tree9571c8c57017467f12ef08e8e75811783e49c556 /cmd/mbf/cache.go
parent1f0bdc7aca5a20b8b76bbc903f78e51af648e42c (diff)
cmd/mbf: optional init verbosity
This output is generally not needed and only useful when debugging container machinery itself. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/mbf/cache.go')
-rw-r--r--cmd/mbf/cache.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/mbf/cache.go b/cmd/mbf/cache.go
index 5c89ca10..05fa7070 100644
--- a/cmd/mbf/cache.go
+++ b/cmd/mbf/cache.go
@@ -21,6 +21,7 @@ type cache struct {
cures, jobs int
hostAbstract, idle bool
+ verboseInit bool
base string
}
@@ -45,6 +46,9 @@ func (cache *cache) open() (err error) {
if cache.hostAbstract {
flags |= pkg.CHostAbstract
}
+ if !cache.verboseInit {
+ flags |= pkg.CSuppressInit
+ }
done := make(chan struct{})
defer close(done)