mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
26 lines
817 B
Diff
26 lines
817 B
Diff
|
From aac5df4ecbb56c741afb63e2ca5d7ca42b59a736 Mon Sep 17 00:00:00 2001
|
||
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
||
|
Date: Wed, 7 May 2014 15:42:38 -0600
|
||
|
Subject: [PATCH 1/3] ARM as allowed architecture
|
||
|
|
||
|
---
|
||
|
docker/docker.go | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/docker/docker.go b/docker/docker.go
|
||
|
index 26ccd24..19de4a0 100644
|
||
|
--- a/docker/docker.go
|
||
|
+++ b/docker/docker.go
|
||
|
@@ -251,7 +251,7 @@ func showVersion() {
|
||
|
|
||
|
func checkKernelAndArch() error {
|
||
|
// Check for unsupported architectures
|
||
|
- if runtime.GOARCH != "amd64" {
|
||
|
+ if runtime.GOARCH != "amd64" && runtime.GOARCH != "arm" {
|
||
|
return fmt.Errorf("The docker runtime currently only supports amd64 (not %s). This will change in the future. Aborting.", runtime.GOARCH)
|
||
|
}
|
||
|
// Check for unsupported kernel versions
|
||
|
--
|
||
|
1.9.0
|
||
|
|