docker/ignore-dockerinit-checksum.patch
Flavio Castelli 84f28f19ef Accepting request 311406 from home:jordimassaguerpla:branches:Virtualization:containers
Remove unneeded dependencies:
 * go-go-md2man: this is required to build the man pages. 
 * systemd-devel: this was a build time dependency required to have some directories inside of the build root

Exclude the whole "/usr/src/docker/bundles" directory from the final package.

OBS-URL: https://build.opensuse.org/request/show/311406
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=11
2015-06-10 08:16:24 +00:00

14 lines
416 B
Diff

Index: docker/utils/utils.go
===================================================================
--- docker.orig/utils/utils.go
+++ docker/utils/utils.go
@@ -110,7 +110,7 @@
}
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())