platform/metal: print image name we're compressing
Makes it easy to double-check that we're compressing the right image
(e.g. metal4k and not metal).
@@ -187,7 +187,7 @@ func setupMetalImage(builddir, metalimg, destdir string) (string, error) {
metalIsCompressed := !strings.HasSuffix(metalimg, ".raw")
metalname := metalimg
if !metalIsCompressed {
- fmt.Println("Compressing metal image")
+ fmt.Printf("Compressing %s\n", metalimg)
metalimgpath := filepath.Join(builddir, metalimg)
srcf, err := os.Open(metalimgpath)
if err != nil {
