91c98f7c10
- remove docker_remove_jornald....patch because we suse dyngccgo instead of dynbinary - replace gcc-go-bulid-static-libgo.patch by gcc-go-patches which patches dyngccgo instea of dynbinary - add fix-ppc64le.patch to fix ppc64le build - fix_bnc_958255.patch: fix Docker creates strange apparmor profile (bnc#958255) - use_fs_cgroups_by_default.patch: Use fs cgroups by default:419fd7449f
- fix_cgroup.parent_path_sanitisation.patch: fix cgroup.Parent path sanitisation:bf899fef45
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=51
34 lines
737 B
Diff
34 lines
737 B
Diff
Index: hack/make/.dockerinit-gccgo
|
|
===================================================================
|
|
--- hack/make/.dockerinit-gccgo.orig
|
|
+++ hack/make/.dockerinit-gccgo
|
|
@@ -1,5 +1,5 @@
|
|
#!/bin/bash
|
|
-set -e
|
|
+set -ex
|
|
|
|
IAMSTATIC="true"
|
|
source "${MAKEDIR}/.go-autogen"
|
|
Index: hack/make/gccgo
|
|
===================================================================
|
|
--- hack/make/gccgo.orig
|
|
+++ hack/make/gccgo
|
|
@@ -1,5 +1,5 @@
|
|
#!/bin/bash
|
|
-set -e
|
|
+set -ex
|
|
|
|
BINARY_NAME="docker-$VERSION"
|
|
BINARY_EXTENSION="$(binary_extension)"
|
|
@@ -17,6 +17,8 @@ go build -compiler=gccgo \
|
|
-g
|
|
+ -Wl,--add-needed -Wl,--no-as-needed
|
|
$EXTLDFLAGS_STATIC
|
|
+ -static-libgo
|
|
-Wl,--no-export-dynamic
|
|
- -ldl
|
|
+ -ldl -lselinux -lsystemd
|
|
" \
|
|
./docker
|
|
|