forked from pool/apptainer
Christian Goll
0aad0a2b68
* Added fix-32bit-compilation.patch from upstream OBS-URL: https://build.opensuse.org/request/show/993258 OBS-URL: https://build.opensuse.org/package/show/network:cluster/apptainer?expand=0&rev=15
27 lines
825 B
Diff
27 lines
825 B
Diff
From cf82cf54c592e1fb86fe0b552c2a1769c5193725 Mon Sep 17 00:00:00 2001
|
|
From: Dave Dykstra <2129743+DrDaveD@users.noreply.github.com>
|
|
Date: Tue, 2 Aug 2022 11:55:17 -0500
|
|
Subject: [PATCH] fix 32bit compilation
|
|
|
|
Signed-off-by: Dave Dykstra <2129743+DrDaveD@users.noreply.github.com>
|
|
---
|
|
internal/pkg/util/fs/overlay/overlay_linux.go | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/internal/pkg/util/fs/overlay/overlay_linux.go b/internal/pkg/util/fs/overlay/overlay_linux.go
|
|
index b5eff4bd2..7b220f97f 100644
|
|
--- a/internal/pkg/util/fs/overlay/overlay_linux.go
|
|
+++ b/internal/pkg/util/fs/overlay/overlay_linux.go
|
|
@@ -81,7 +81,7 @@ func check(path string, d dir, allowType int64) error {
|
|
return nil
|
|
}
|
|
|
|
- if stfs.Type == allowType {
|
|
+ if int64(stfs.Type) == allowType {
|
|
return nil
|
|
}
|
|
|
|
--
|
|
2.37.1
|
|
|