Only calculate image chroot size when requested

- Fixes: #1504

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2025-02-05 20:51:41 -07:00
parent 36dca0dfa3
commit 8bf35c7657
6 changed files with 302 additions and 305 deletions

View File

@@ -45,7 +45,6 @@ nodes:
KernelVersion: "kernel",
CreateDate: uint64(time.Unix(0, 0).Unix()),
ModDate: uint64(time.Unix(0, 0).Unix()),
Size: uint64(1),
})
return
}