From 9218f2577d40730c4c39f855c997adb176afc111 Mon Sep 17 00:00:00 2001 From: Avi Deitcher Date: Tue, 7 Jun 2022 19:45:35 +0300 Subject: [PATCH] when no archs for pkg to build, should continue rather than return, or it misses other packages Signed-off-by: Avi Deitcher --- src/cmd/linuxkit/pkg_build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/linuxkit/pkg_build.go b/src/cmd/linuxkit/pkg_build.go index 141774f9a..ba8525a18 100644 --- a/src/cmd/linuxkit/pkg_build.go +++ b/src/cmd/linuxkit/pkg_build.go @@ -163,7 +163,7 @@ func pkgBuildPush(args []string, withPush bool) { // note that this is *not* an error; we simply skip it if len(pkgPlats) == 0 { fmt.Printf("Skipping %s with no architectures to build\n", p.Tag()) - return + continue } pkgOpts = append(pkgOpts, pkglib.WithBuildPlatforms(pkgPlats...))