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

@@ -62,7 +62,7 @@ message ImageInfo {
string kernelVersion = 3;
uint64 createDate = 4; // creation date in unix time
uint64 modDate = 5; // date of last modification in unix time
uint64 size = 6; // size of chroot and images in bytes
// uint64 size = 6; // size of chroot and images in bytes
uint64 imgSize = 7;
uint64 imgSizeComp = 8;
}