enable-non-amd64-arches
authorPaul Tagliamonte <paultag@debian.org>
Sat, 3 Jan 2015 07:11:47 +0000 (07:11 +0000)
committerTianon Gravi <admwiggin@gmail.com>
Sat, 3 Jan 2015 07:11:47 +0000 (07:11 +0000)
Gbp-Pq: Name enable-non-amd64-arches.patch

daemon/daemon.go

index 76cb14c81d8f490eb764f0e0bd18367f520f7f29..194faeaa4c05ab8677a94748cbc8f63b947576a5 100644 (file)
@@ -1104,7 +1104,7 @@ func (daemon *Daemon) ImageGetCached(imgID string, config *runconfig.Config) (*i
 func checkKernelAndArch() error {
        // Check for unsupported architectures
        if runtime.GOARCH != "amd64" {
-               return fmt.Errorf("The Docker runtime currently only supports amd64 (not %s). This will change in the future. Aborting.", runtime.GOARCH)
+               fmt.Fprintf(os.Stderr, "WARNING: The Docker runtime currently only officially supports amd64 (not %s). THIS BUILD IS NOT OFFICIAL AND WILL NOT BE SUPPORTED BY DOCKER UPSTREAM.", runtime.GOARCH)
        }
        // Check for unsupported kernel versions
        // FIXME: it would be cleaner to not test for specific versions, but rather