-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update
containerd-arm64-v8.patch
for 0.19+
See #900
- Loading branch information
Showing
6 changed files
with
27 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Description: normalize "linux/arm64" to "linux/arm64/v8" instead of the other direction | ||
Forwarded: no; presumably, the direction this went was intentional (Tianon just disagrees, and the normalization allows him that) | ||
|
||
diff --git a/vendor/github.com/containerd/platforms/database.go b/vendor/github.com/containerd/platforms/database.go | ||
index 2e26fd3b4..5ef7d74d1 100644 | ||
--- a/vendor/github.com/containerd/platforms/database.go | ||
+++ b/vendor/github.com/containerd/platforms/database.go | ||
@@ -87,8 +87,8 @@ func normalizeArch(arch, variant string) (string, string) { | ||
case "aarch64", "arm64": | ||
arch = "arm64" | ||
switch variant { | ||
- case "8", "v8": | ||
- variant = "" | ||
+ case "", "8": | ||
+ variant = "v8" | ||
} | ||
case "armhf": | ||
arch = "arm" |
This file contains 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