1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
Author: Reinhard Tartler <siretart@tauware.de>
Description: fix compilation against the packaged version of sylabs/sif
Index: golang-github-containers-image/sif/load.go
===================================================================
--- golang-github-containers-image.orig/sif/load.go
+++ golang-github-containers-image/sif/load.go
@@ -11,7 +11,7 @@ import (
"strings"
"github.com/sirupsen/logrus"
- "github.com/sylabs/sif/v2/pkg/sif"
+ "github.com/sylabs/sif/pkg/sif"
)
// injectedScriptTargetPath is the path injectedScript should be written to in the created image.
Index: golang-github-containers-image/sif/src.go
===================================================================
--- golang-github-containers-image.orig/sif/src.go
+++ golang-github-containers-image/sif/src.go
@@ -18,7 +18,7 @@ import (
imgspecs "github.com/opencontainers/image-spec/specs-go"
imgspecv1 "github.com/opencontainers/image-spec/specs-go/v1"
"github.com/sirupsen/logrus"
- "github.com/sylabs/sif/v2/pkg/sif"
+ "github.com/sylabs/sif/pkg/sif"
)
type sifImageSource struct {
|