docker/ignore-dockerinit-checksum.patch
Flavio Castelli 5a40d680c1 - Build docker on PPC and S390x using gcc-go provided by gcc5
* added sysconfig.docker.ppc64le: make docker daemon start on ppc64le
    despite some iptables issues. To be removed soon
  * ignore-dockerinit-checksum.patch: applied only when building with
    gcc-go. Required to workaround a limitation of gcc-go
  * gcc-go-build-static-libgo.patch: used only when building with gcc-go,
    link libgo statically into docker itself.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=9
2015-06-05 15:24:58 +00:00

14 lines
457 B
Diff

Index: docker/utils/utils.go
===================================================================
--- docker.orig/utils/utils.go
+++ docker/utils/utils.go
@@ -111,7 +111,7 @@ func isValidDockerInitPath(target string
}
return os.SameFile(targetFileInfo, selfPathFileInfo)
}
- return dockerversion.INITSHA1 != "" && dockerInitSha1(target) == dockerversion.INITSHA1
+ return true
}
// Figure out the path of our dockerinit (which may be SelfPath())