Created
October 13, 2025 18:42
-
-
Save cgwalters/071e59c163c1748a37768ec0132d4039 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
$ diff --git i/go.mod w/go.mod | |
index 9dc4189d43..7ac74ebc2b 100644 | |
--- i/go.mod | |
+++ w/go.mod | |
@@ -191,3 +192,5 @@ require ( | |
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect | |
tags.cncf.io/container-device-interface/specs-go v1.0.0 // indirect | |
) | |
+ | |
+replace github.com/containers/storage => ../container-libs/storage | |
$ make podman | |
CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build \ | |
\ | |
-ldflags '-X github.com/containers/podman/v5/libpod/define.gitCommit=43c95d2c0bdfc71d005e015fe93b3e7a48f39adf-dirty -X github.com/containers/podman/v5/libpod/define.buildInfo=1760380947 -X github.com/containers/podman/v5/libpod/config._installPrefix=/usr/local -X github.com/containers/podman/v5/libpod/config._etcDir=/etc -X github.com/containers/podman/v5/pkg/systemd/quadlet._binDir=/usr/local/bin -X github.com/containers/common/pkg/config.additionalHelperBinariesDir= ' \ | |
-tags "grpcnotrace libsqlite3 systemd libsubid seccomp " \ | |
-o bin/podman ./cmd/podman | |
package github.com/containers/podman/v5/cmd/podman | |
imports github.com/containers/common/pkg/ssh | |
imports github.com/containers/common/pkg/config | |
imports github.com/containers/storage/pkg/lockfile | |
vendor/github.com/containers/storage/pkg/lockfile/lockfile.go:10:2: use of internal package go.podman.io/storage/internal/rawfilelock not allowed | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment