aboutsummaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/sys/cpu
diff options
context:
space:
mode:
authorValentin Rothberg <vrothberg@redhat.com>2022-07-21 09:58:18 +0200
committerValentin Rothberg <vrothberg@redhat.com>2022-07-21 10:04:45 +0200
commitc1f04a024a3d48e39ac5bfc82af7ba9fec04539c (patch)
treee8b13d72b4e930c2b8d19e1c65dc4eb1575c917d /vendor/golang.org/x/sys/cpu
parent0de7e4662e6d574fe382714cb6664a4519771f88 (diff)
downloadpodman-c1f04a024a3d48e39ac5bfc82af7ba9fec04539c.tar.gz
podman-c1f04a024a3d48e39ac5bfc82af7ba9fec04539c.tar.bz2
podman-c1f04a024a3d48e39ac5bfc82af7ba9fec04539c.zip
podman-remote pull: fix duplicate progress outputs
By vendoring the fixes from containers/image. Also add a test (thanks @edsantiago) to make sure we won't regress in the future again. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'vendor/golang.org/x/sys/cpu')
-rw-r--r--vendor/golang.org/x/sys/cpu/cpu_other_riscv64.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/cpu/cpu_other_riscv64.go b/vendor/golang.org/x/sys/cpu/cpu_other_riscv64.go
new file mode 100644
index 000000000..dd10eb79f
--- /dev/null
+++ b/vendor/golang.org/x/sys/cpu/cpu_other_riscv64.go
@@ -0,0 +1,12 @@
+// Copyright 2022 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+//go:build !linux && riscv64
+// +build !linux,riscv64
+
+package cpu
+
+func archInit() {
+ Initialized = true
+}