diff options
4 files changed, 9 insertions, 10 deletions
diff --git a/recipes-containers/runc/runc-docker/0001-build-drop-recvtty-and-use-GOBUILDFLAGS.patch b/recipes-containers/runc/runc-docker/0001-build-drop-recvtty-and-use-GOBUILDFLAGS.patch index faeac46f..9ba99571 100644 --- a/recipes-containers/runc/runc-docker/0001-build-drop-recvtty-and-use-GOBUILDFLAGS.patch +++ b/recipes-containers/runc/runc-docker/0001-build-drop-recvtty-and-use-GOBUILDFLAGS.patch | |||
| @@ -15,8 +15,8 @@ Index: git/src/import/Makefile | |||
| 15 | @@ -41,7 +41,6 @@ | 15 | @@ -41,7 +41,6 @@ |
| 16 | 16 | ||
| 17 | static: $(SOURCES) | 17 | static: $(SOURCES) |
| 18 | CGO_ENABLED=1 $(GO) build $(EXTRA_FLAGS) -tags "$(BUILDTAGS) netgo osusergo cgo static_build" -installsuffix netgo -ldflags "-w -extldflags -static -X main.gitCommit=${COMMIT} -X main.version=${VERSION} $(EXTRA_LDFLAGS)" -o runc . | 18 | CGO_ENABLED=1 $(GO) build $(EXTRA_FLAGS) -tags "$(BUILDTAGS) netgo osusergo static_build" -installsuffix netgo -ldflags "-w -extldflags -static -X main.gitCommit=${COMMIT} -X main.version=${VERSION} $(EXTRA_LDFLAGS)" -o runc . |
| 19 | - CGO_ENABLED=1 $(GO) build $(EXTRA_FLAGS) -tags "$(BUILDTAGS) netgo osusergo cgo static_build" -installsuffix netgo -ldflags "-w -extldflags -static -X main.gitCommit=${COMMIT} -X main.version=${VERSION} $(EXTRA_LDFLAGS)" -o contrib/cmd/recvtty/recvtty ./contrib/cmd/recvtty | 19 | - CGO_ENABLED=1 $(GO) build $(EXTRA_FLAGS) -tags "$(BUILDTAGS) netgo osusergo static_build" -installsuffix netgo -ldflags "-w -extldflags -static -X main.gitCommit=${COMMIT} -X main.version=${VERSION} $(EXTRA_LDFLAGS)" -o contrib/cmd/recvtty/recvtty ./contrib/cmd/recvtty |
| 20 | 20 | ||
| 21 | release: | 21 | release: |
| 22 | script/release.sh -r release/$(VERSION) -v $(VERSION) | 22 | script/release.sh -r release/$(VERSION) -v $(VERSION) |
diff --git a/recipes-containers/runc/runc-docker/0001-runc-docker-SIGUSR1-daemonize.patch b/recipes-containers/runc/runc-docker/0001-runc-docker-SIGUSR1-daemonize.patch index 9ccbccb2..0af74952 100644 --- a/recipes-containers/runc/runc-docker/0001-runc-docker-SIGUSR1-daemonize.patch +++ b/recipes-containers/runc/runc-docker/0001-runc-docker-SIGUSR1-daemonize.patch | |||
| @@ -51,14 +51,13 @@ Index: git/src/import/signals.go | |||
| 51 | 51 | ||
| 52 | pid1, err := process.Pid() | 52 | pid1, err := process.Pid() |
| 53 | if err != nil { | 53 | if err != nil { |
| 54 | @@ -68,12 +66,61 @@ | 54 | @@ -68,11 +66,60 @@ |
| 55 | if h.notifySocket != nil { | 55 | if h.notifySocket != nil { |
| 56 | if detach { | 56 | if detach { |
| 57 | h.notifySocket.run(pid1) | 57 | h.notifySocket.run(pid1) |
| 58 | - return 0, nil | 58 | - return 0, nil |
| 59 | } else { | ||
| 60 | go h.notifySocket.run(0) | ||
| 61 | } | 59 | } |
| 60 | go h.notifySocket.run(0) | ||
| 62 | } | 61 | } |
| 63 | 62 | ||
| 64 | + if (detach) { | 63 | + if (detach) { |
| @@ -118,7 +117,7 @@ Index: git/src/import/utils_linux.go | |||
| 118 | =================================================================== | 117 | =================================================================== |
| 119 | --- git.orig/src/import/utils_linux.go | 118 | --- git.orig/src/import/utils_linux.go |
| 120 | +++ git/src/import/utils_linux.go | 119 | +++ git/src/import/utils_linux.go |
| 121 | @@ -338,7 +338,7 @@ | 120 | @@ -347,7 +347,7 @@ |
| 122 | if err != nil { | 121 | if err != nil { |
| 123 | r.terminate(process) | 122 | r.terminate(process) |
| 124 | } | 123 | } |
diff --git a/recipes-containers/runc/runc-docker_git.bb b/recipes-containers/runc/runc-docker_git.bb index 11fa68aa..41c82f7e 100644 --- a/recipes-containers/runc/runc-docker_git.bb +++ b/recipes-containers/runc/runc-docker_git.bb | |||
| @@ -4,11 +4,11 @@ RRECOMMENDS_${PN} = "lxc docker" | |||
| 4 | 4 | ||
| 5 | # Note: this rev is before the required protocol field, update when all components | 5 | # Note: this rev is before the required protocol field, update when all components |
| 6 | # have been updated to match. | 6 | # have been updated to match. |
| 7 | SRCREV_runc-docker = "6a2c15596845f6ff5182e2022f38a65e5dfa88eb" | 7 | SRCREV_runc-docker = "4a600c04ed480084b2351b3e32c26cb4a2d5d533" |
| 8 | SRC_URI = "git://github.com/opencontainers/runc;nobranch=1;name=runc-docker \ | 8 | SRC_URI = "git://github.com/opencontainers/runc;nobranch=1;name=runc-docker \ |
| 9 | file://0001-runc-Add-console-socket-dev-null.patch \ | 9 | file://0001-runc-Add-console-socket-dev-null.patch \ |
| 10 | file://0001-build-drop-recvtty-and-use-GOBUILDFLAGS.patch \ | 10 | file://0001-build-drop-recvtty-and-use-GOBUILDFLAGS.patch \ |
| 11 | file://0001-runc-docker-SIGUSR1-daemonize.patch \ | 11 | file://0001-runc-docker-SIGUSR1-daemonize.patch \ |
| 12 | " | 12 | " |
| 13 | 13 | ||
| 14 | RUNC_VERSION = "1.0.0-rc5" | 14 | RUNC_VERSION = "1.0.0-rc6" |
diff --git a/recipes-containers/runc/runc-opencontainers_git.bb b/recipes-containers/runc/runc-opencontainers_git.bb index eaee8efa..27c5f23b 100644 --- a/recipes-containers/runc/runc-opencontainers_git.bb +++ b/recipes-containers/runc/runc-opencontainers_git.bb | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | include runc.inc | 1 | include runc.inc |
| 2 | 2 | ||
| 3 | SRCREV = "6a2c15596845f6ff5182e2022f38a65e5dfa88eb" | 3 | SRCREV = "4a600c04ed480084b2351b3e32c26cb4a2d5d533" |
| 4 | SRC_URI = " \ | 4 | SRC_URI = " \ |
| 5 | git://github.com/opencontainers/runc;branch=master \ | 5 | git://github.com/opencontainers/runc;branch=master \ |
| 6 | " | 6 | " |
| 7 | RUNC_VERSION = "1.0.0-rc5" | 7 | RUNC_VERSION = "1.0.0-rc6" |
