File: sif-v2.patch

package info (click to toggle)
golang-github-containers-image 5.28.0-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,104 kB
  • sloc: sh: 194; makefile: 73
file content (29 lines) | stat: -rw-r--r-- 1,084 bytes parent folder | download
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 {