go.mod: update osbuild/images to v0.174.0

Also update the minimum required osbuild version by the osbuild/images
library.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
Tomáš Hozza 2025-08-11 13:40:51 +02:00 committed by Tomáš Hozza
parent 3d0110f14e
commit 74d2edb772
110 changed files with 1218 additions and 1104 deletions

View file

@ -1 +1 @@
1.59.0
1.59.1

View file

@ -697,7 +697,10 @@ func (ta *tarWriter) addFile(headers *addFileData) error {
}
if !headers.fi.IsDir() && hasHardlinks(headers.fi) {
ta.SeenFiles[getInodeFromStat(headers.fi.Sys())] = headers.hdr.Name
ino := getInodeFromStat(headers.fi.Sys())
if _, seen := ta.SeenFiles[ino]; !seen {
ta.SeenFiles[ino] = headers.hdr.Name
}
}
return nil