|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Index: src/github.com/containers/skopeo/Makefile
|
|
|
|
|
--- src/github.com/containers/skopeo/Makefile.orig 2020-03-16 09:47:33.000000000 +0100
|
|
|
|
|
+++ src/github.com/containers/skopeo/Makefile 2020-03-16 09:55:17.092301000 +0100
|
|
|
|
|
--- src/github.com/containers/skopeo/Makefile.orig 2020-06-20 10:01:28.000000000 +0200
|
|
|
|
|
+++ src/github.com/containers/skopeo/Makefile 2020-06-20 10:02:03.485002000 +0200
|
|
|
|
|
@@ -30,7 +30,7 @@
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
@ -10,18 +10,18 @@ Index: src/github.com/containers/skopeo/Makefile
|
|
|
|
|
|
|
|
|
|
# Go module support: set `-mod=vendor` to use the vendored sources.
|
|
|
|
|
# See also hack/make.sh.
|
|
|
|
|
@@ -107,7 +107,7 @@
|
|
|
|
|
|
|
|
|
|
@@ -112,7 +112,7 @@
|
|
|
|
|
# Build w/o using containers
|
|
|
|
|
binary-local:
|
|
|
|
|
- $(GPGME_ENV) $(GO) build $(MOD_VENDOR) ${GO_DYN_FLAGS} -ldflags "-X main.gitCommit=${GIT_COMMIT}" -gcflags "$(GOGCFLAGS)" -tags "$(BUILDTAGS)" -o skopeo ./cmd/skopeo
|
|
|
|
|
+ $(GPGME_ENV) $(GO) build -v $(MOD_VENDOR) ${GO_DYN_FLAGS} -ldflags "-X main.gitCommit=${GIT_COMMIT}" -gcflags "$(GOGCFLAGS)" -tags "$(BUILDTAGS)" -o skopeo ./cmd/skopeo
|
|
|
|
|
.PHONY: bin/skopeo
|
|
|
|
|
bin/skopeo:
|
|
|
|
|
- $(GPGME_ENV) $(GO) build $(MOD_VENDOR) ${GO_DYN_FLAGS} ${LDFLAGS} -gcflags "$(GOGCFLAGS)" -tags "$(BUILDTAGS)" -o $@ ./cmd/skopeo
|
|
|
|
|
+ $(GPGME_ENV) $(GO) build -v $(MOD_VENDOR) ${GO_DYN_FLAGS} ${LDFLAGS} -gcflags "$(GOGCFLAGS)" -tags "$(BUILDTAGS)" -o $@ ./cmd/skopeo
|
|
|
|
|
|
|
|
|
|
binary-local-static:
|
|
|
|
|
$(GPGME_ENV) $(GO) build $(MOD_VENDOR) -ldflags "-extldflags \"-static\" -X main.gitCommit=${GIT_COMMIT}" -gcflags "$(GOGCFLAGS)" -tags "$(BUILDTAGS)" -o skopeo ./cmd/skopeo
|
|
|
|
|
build-container:
|
|
|
|
|
${CONTAINER_RUNTIME} build ${BUILD_ARGS} -t "$(IMAGE)" .
|
|
|
|
|
Index: src/github.com/containers/skopeo/vendor/github.com/containers/storage/drivers/driver_freebsd.go
|
|
|
|
|
--- src/github.com/containers/skopeo/vendor/github.com/containers/storage/drivers/driver_freebsd.go.orig 2020-03-16 09:47:34.000000000 +0100
|
|
|
|
|
+++ src/github.com/containers/skopeo/vendor/github.com/containers/storage/drivers/driver_freebsd.go 2020-03-16 09:55:17.092465000 +0100
|
|
|
|
|
--- src/github.com/containers/skopeo/vendor/github.com/containers/storage/drivers/driver_freebsd.go.orig 2020-06-20 10:01:28.000000000 +0200
|
|
|
|
|
+++ src/github.com/containers/skopeo/vendor/github.com/containers/storage/drivers/driver_freebsd.go 2020-06-20 10:00:31.046395000 +0200
|
|
|
|
|
@@ -1,8 +1,6 @@
|
|
|
|
|
package graphdriver
|
|
|
|
|
|
|
|
|
@ -41,8 +41,8 @@ Index: src/github.com/containers/skopeo/vendor/github.com/containers/storage/dri
|
|
|
|
|
}
|
|
|
|
|
return FsMagic(buf.Type) == fsType, nil
|
|
|
|
|
Index: src/github.com/containers/skopeo/vendor/github.com/containers/storage/pkg/mount/mounter_unsupported.go
|
|
|
|
|
--- src/github.com/containers/skopeo/vendor/github.com/containers/storage/pkg/mount/mounter_unsupported.go.orig 2020-03-16 09:47:34.000000000 +0100
|
|
|
|
|
+++ src/github.com/containers/skopeo/vendor/github.com/containers/storage/pkg/mount/mounter_unsupported.go 2020-03-16 09:55:17.092603000 +0100
|
|
|
|
|
--- src/github.com/containers/skopeo/vendor/github.com/containers/storage/pkg/mount/mounter_unsupported.go.orig 2020-06-20 10:01:28.000000000 +0200
|
|
|
|
|
+++ src/github.com/containers/skopeo/vendor/github.com/containers/storage/pkg/mount/mounter_unsupported.go 2020-06-20 10:00:31.046570000 +0200
|
|
|
|
|
@@ -1,4 +1,4 @@
|
|
|
|
|
-// +build !linux
|
|
|
|
|
+// +build !linux,!freebsd
|
|
|
|
@ -50,8 +50,8 @@ Index: src/github.com/containers/skopeo/vendor/github.com/containers/storage/pkg
|
|
|
|
|
package mount
|
|
|
|
|
|
|
|
|
|
Index: src/github.com/containers/skopeo/vendor/github.com/containers/storage/pkg/mount/mountinfo_unsupported.go
|
|
|
|
|
--- src/github.com/containers/skopeo/vendor/github.com/containers/storage/pkg/mount/mountinfo_unsupported.go.orig 2020-03-16 09:47:34.000000000 +0100
|
|
|
|
|
+++ src/github.com/containers/skopeo/vendor/github.com/containers/storage/pkg/mount/mountinfo_unsupported.go 2020-03-16 09:55:39.262143000 +0100
|
|
|
|
|
--- src/github.com/containers/skopeo/vendor/github.com/containers/storage/pkg/mount/mountinfo_unsupported.go.orig 2020-06-20 10:01:28.000000000 +0200
|
|
|
|
|
+++ src/github.com/containers/skopeo/vendor/github.com/containers/storage/pkg/mount/mountinfo_unsupported.go 2020-06-20 10:00:31.046735000 +0200
|
|
|
|
|
@@ -1,4 +1,4 @@
|
|
|
|
|
-// +build !linux
|
|
|
|
|
+// +build !linux,!freebsd
|
|
|
|
@ -59,8 +59,8 @@ Index: src/github.com/containers/skopeo/vendor/github.com/containers/storage/pkg
|
|
|
|
|
package mount
|
|
|
|
|
|
|
|
|
|
Index: src/github.com/containers/skopeo/vendor/github.com/containers/storage/pkg/system/mknod.go
|
|
|
|
|
--- src/github.com/containers/skopeo/vendor/github.com/containers/storage/pkg/system/mknod.go.orig 2020-03-16 09:47:34.000000000 +0100
|
|
|
|
|
+++ src/github.com/containers/skopeo/vendor/github.com/containers/storage/pkg/system/mknod.go 2020-03-16 09:55:17.092731000 +0100
|
|
|
|
|
--- src/github.com/containers/skopeo/vendor/github.com/containers/storage/pkg/system/mknod.go.orig 2020-06-20 10:01:28.000000000 +0200
|
|
|
|
|
+++ src/github.com/containers/skopeo/vendor/github.com/containers/storage/pkg/system/mknod.go 2020-06-20 10:00:31.046934000 +0200
|
|
|
|
|
@@ -9,7 +9,7 @@
|
|
|
|
|
// Mknod creates a filesystem node (file, device special file or named pipe) named path
|
|
|
|
|
// with attributes specified by mode and dev.
|
|
|
|
|