Skip to contentSkip to conversation

kubernetes: clean up environment settings in do_compile

PATCH Superseded Chen Qi 3 participants 9 messages Aug 5, 2019 – Aug 6, 2019

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
author
#1 lore raw

PATCH 2/4 runc: remove static to enable building systemd support

In reply to Chen Qi

Remove the 'static' from do_compile to enable systemd support. This avoid runtime error is docker's cgroup driver is set to systemd on systemd based images.

---
 recipes-containers/runc/runc.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-containers/runc/runc.inc +1 -1
index 46fd09d..1f2f944 100644
@@ -54,7 +54,7 @@ do_compile() {
 	export CFLAGS=""
 	export LDFLAGS=""
 
-	oe_runmake static
+	oe_runmake
 }
 
 do_install() {
Signature · 1 line
2.17.1
author
#6 lore raw

PATCH 3/4 runc-docker: respect GOBUILDFLAGS and do not compile recvtty

In reply to Chen Qi

Previsously, runc uses 'make static' to compile things out, and the 0001-build-drop-recvtty-and-use-GOBUILDFLAGS.patch removes the recvtty target, although that patch does not respect GOBUILDFLAGS as its name suggests.

Now we have changed to remove 'static' because we want to have systemd support. So we explicitly only compile 'runc' and make this target respect 'GOBUILDFLAGS'.

---
 .../0001-Makefile-respect-GOBUILDFLAGS.patch  | 28 +++++++++++++++++++
 ...ld-drop-recvtty-and-use-GOBUILDFLAGS.patch | 22 ---------------
 recipes-containers/runc/runc-docker_git.bb    |  2 +-
 recipes-containers/runc/runc.inc              |  2 +-
 4 files changed, 30 insertions(+), 24 deletions(-)
 create mode 100644 recipes-containers/runc/files/0001-Makefile-respect-GOBUILDFLAGS.patch
 delete mode 100644 recipes-containers/runc/runc-docker/0001-build-drop-recvtty-and-use-GOBUILDFLAGS.patch
recipes-containers/runc/files/0001-Makefile-respect-GOBUILDFLAGS.patch new file +28 -0
new file mode 100644
index 0000000..ac9aa3d
@@ -0,0 +1,28 @@
+From 7d6f130ebe427412c41cd11148be6db7711e32c1 Mon Sep 17 00:00:00 2001
+From: Chen Qi <[email protected]>
+Date: Mon, 5 Aug 2019 13:29:50 +0800
+Subject: [PATCH] Makefile: respect GOBUILDFLAGS
+
+Signed-off-by: Chen Qi <[email protected]>
+
+Upstream-Status: Inappropriate [OE Specific]
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 0f26a1c8..45c6c221 100644
+--- a/src/import/Makefile
++++ b/src/import/Makefile
+@@ -30,7 +30,7 @@ SHELL := $(shell command -v bash 2>/dev/null)
+ .DEFAULT: runc
+ 
+ runc: $(SOURCES)
+-	$(GO) build -buildmode=pie $(EXTRA_FLAGS) -ldflags "-X main.gitCommit=${COMMIT} -X main.version=${VERSION} $(EXTRA_LDFLAGS)" -tags "$(BUILDTAGS)" -o runc .
++	$(GO) build $(GOBUILDFLAGS) $(EXTRA_FLAGS) -ldflags "-X main.gitCommit=${COMMIT} -X main.version=${VERSION} $(EXTRA_LDFLAGS)" -tags "$(BUILDTAGS)" -o runc .
+ 
+ all: runc recvtty
+ 
+-- 
+2.17.1
+
recipes-containers/runc/runc-docker/0001-build-drop-recvtty-and-use-GOBUILDFLAGS.patch deleted +0 -22
deleted file mode 100644
index 9ba9957..0000000
@@ -1,22 +0,0 @@
-From a9a2b9e72027d0b2357f6dfe8b154762aaa8dd02 Mon Sep 17 00:00:00 2001
-From: Bruce Ashfield <[email protected]>
-Date: Thu, 19 Apr 2018 16:39:41 -0400
-Subject: [PATCH] build: drop recvtty and use GOBUILDFLAGS
-
-Signed-off-by: Bruce Ashfield <[email protected]>
----
- Makefile | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-Index: git/src/import/Makefile
-===================================================================
---- git.orig/src/import/Makefile
-+++ git/src/import/Makefile
-@@ -41,7 +41,6 @@
- 
- static: $(SOURCES)
- 	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 .
--	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
- 
- release:
- 	script/release.sh -r release/$(VERSION) -v $(VERSION)
recipes-containers/runc/runc-docker_git.bb +1 -1
index 2bf6222..d4e4d24 100644
@@ -5,8 +5,8 @@ include runc.inc
 SRCREV_runc-docker = "425e105d5a03fabd737a126ad93d62a9eeede87f"
 SRC_URI = "git://github.com/opencontainers/runc;nobranch=1;name=runc-docker \
            file://0001-runc-Add-console-socket-dev-null.patch \
-           file://0001-build-drop-recvtty-and-use-GOBUILDFLAGS.patch \
            file://0001-runc-docker-SIGUSR1-daemonize.patch \
+           file://0001-Makefile-respect-GOBUILDFLAGS.patch \
           "
 
 RUNC_VERSION = "1.0.0-rc8"
recipes-containers/runc/runc.inc +1 -1
index 1f2f944..fe997f1 100644
@@ -54,7 +54,7 @@ do_compile() {
 	export CFLAGS=""
 	export LDFLAGS=""
 
-	oe_runmake
+	oe_runmake runc
 }
 
 do_install() {
Signature · 1 line
2.17.1

Chen Qi

author
#0 lore raw

PATCH 1/4 kubernetes: clean up environment settings in do_compile

There are unnessary and incorrect settings like GOOS and GOROOT. There are also redundant settings like GOPATH, CGO_CFLAGS, etc, whose latter setting will cover the previous one.

So clean all these up.

Also, remove the comment which suggests settings GOVERSION to "1.10%", as it's no longer valid for current OE.

---
 .../kubernetes/kubernetes_git.bb              | 36 +++++++------------
 1 file changed, 12 insertions(+), 24 deletions(-)
recipes-containers/kubernetes/kubernetes_git.bb +12 -24
index 5b4c3a9..0aa7c00 100644
@@ -5,8 +5,6 @@ applications across multiple hosts, providing basic mechanisms for deployment, \
 maintenance, and scaling of applications. \
 "
 
-# Note: 1.11+ requires go 1.10.2+, so the following must be set
-#       in your configuration: GOVERSION = "1.10%"
 PV = "v1.16.0-alpha+git${SRCREV_kubernetes}"
 SRCREV_kubernetes = "7054e3ead7e1a00ca6ac3ec47ea355b76061a35a"
 
@@ -31,39 +29,29 @@ inherit goarch
 COMPATIBLE_HOST = '(x86_64.*|arm.*|aarch64.*)-linux'
 
 do_compile() {
-	export GOARCH="${TARGET_GOARCH}"
-	export GOOS="${TARGET_GOOS}"
-	export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go"
-	export GOPATH="${S}/src/import:${S}/src/import/vendor"
-
-	# Pass the needed cflags/ldflags so that cgo
-	# can find the needed headers files and libraries
-	export CGO_ENABLED="1"
-	export CFLAGS=""
-	export LDFLAGS=""
-	export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}"
-	export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}"
-
 	# link fixups for compilation
 	rm -f ${S}/src/import/vendor/src
 	ln -sf ./ ${S}/src/import/vendor/src
 
 	export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go"
-	export GOROOT="${STAGING_DIR_NATIVE}/${nonarch_libdir}/${HOST_SYS}/go"
-
-	# Pass the needed cflags/ldflags so that cgo
-	# can find the needed headers files and libraries
-	export CGO_ENABLED="1"
-	export CGO_CFLAGS="${CFLAGS} --sysroot=${STAGING_DIR_TARGET}"
-	export CGO_LDFLAGS="${LDFLAGS} --sysroot=${STAGING_DIR_TARGET}"
-
 	cd ${S}/src/import
+
 	# Build the host tools first, using the host compiler
 	export GOARCH="${BUILD_GOARCH}"
+	# Pass the needed cflags/ldflags so that cgo can find the needed headers files and libraries
+	export CGO_ENABLED="1"
+	export CFLAGS=""
+	export LDFLAGS=""
+	export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}"
+	export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}"
 	make generated_files KUBE_BUILD_PLATFORMS="${HOST_GOOS}/${BUILD_GOARCH}"
 
-	# Reset GOARCH to the target one
+	# Build the target binaries
 	export GOARCH="${TARGET_GOARCH}"
+	# Pass the needed cflags/ldflags so that cgo can find the needed headers files and libraries
+	export CGO_ENABLED="1"
+	export CGO_CFLAGS="${CFLAGS} --sysroot=${STAGING_DIR_TARGET}"
+	export CGO_LDFLAGS="${LDFLAGS} --sysroot=${STAGING_DIR_TARGET}"
 	# to limit what is built, use 'WHAT', i.e. make WHAT=cmd/kubelet
 	make cross KUBE_BUILD_PLATFORMS=${GOOS}/${GOARCH}
 }
Signature · 1 line
2.17.1
author
#8 lore raw

PATCH 4/4 runc-opencontainers: respect GOBUILDFLAGS

Include patch to respect GOBUILDFLAGS to avoid compilation failure on mips archs.

---
 recipes-containers/runc/runc-opencontainers_git.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-containers/runc/runc-opencontainers_git.bb +1 -0
index 76ab794..e51758c 100644
@@ -3,5 +3,6 @@ include runc.inc
 SRCREV = "652297c7c7e6c94e8d064ad5916c32891a6fd388"
 SRC_URI = " \
     git://github.com/opencontainers/runc;branch=master \
+    file://0001-Makefile-respect-GOBUILDFLAGS.patch \
     "
 RUNC_VERSION = "1.0.0-rc8"
Signature · 1 line
2.17.1
#2 lore raw

Re: [PATCH 2/4] runc: remove static to enable building systemd support

In reply to Chen Qi
Quoted 15 lines · On Mon., Aug. 5, 2019, 3:02 a.m. Chen Qi, <[email protected]> wrote:

Remove the 'static' from do_compile to enable systemd support. This avoid runtime error is docker's cgroup driver is set to systemd on systemd based images.

---
 recipes-containers/runc/runc.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-containers/runc/runc.inc +0 -0
index 46fd09d..1f2f944 100644

recipes-containers/runc/runc.inc do_compile() { · line 58

Quoted 6 lines
recipes-containers/runc/runc.inc +1 -1
@@ -54,7 +54,7 @@ do_compile() {
        export CFLAGS=""
        export LDFLAGS=""
 
-       oe_runmake static
+       oe_runmake
 

This needs to be optional, via a packageconfig that can be overidden and that can trigger a default of the init manager is systemd. (I actually want static and systemd in my configs )

Bruce

}

Quoted 11 lines
recipes-containers/runc/runc.inc +0 -1
 do_install() {
--

2.17.1

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

#7 lore raw

Re: [PATCH 3/4] runc-docker: respect GOBUILDFLAGS and do not compile recvtty

In reply to Chen Qi
Quoted 9 lines · On Mon., Aug. 5, 2019, 3:02 a.m. Chen Qi, <[email protected]> wrote:

Previsously, runc uses 'make static' to compile things out, and the 0001-build-drop-recvtty-and-use-GOBUILDFLAGS.patch removes the recvtty target, although that patch does not respect GOBUILDFLAGS as its name suggests.

Now we have changed to remove 'static' because we want to have systemd support. So we explicitly only compile 'runc' and make this target respect 'GOBUILDFLAGS'.

No .. actually we won't drop static . So this needs to be reworked to account for both cases .

Bruce

Quoted 129 lines
---
 .../0001-Makefile-respect-GOBUILDFLAGS.patch  | 28 +++++++++++++++++++
 ...ld-drop-recvtty-and-use-GOBUILDFLAGS.patch | 22 ---------------
 recipes-containers/runc/runc-docker_git.bb    |  2 +-
 recipes-containers/runc/runc.inc              |  2 +-
 4 files changed, 30 insertions(+), 24 deletions(-)
 create mode 100644
recipes-containers/runc/files/0001-Makefile-respect-GOBUILDFLAGS.patch
 delete mode 100644

recipes-containers/runc/runc-docker/0001-build-drop-recvtty-and-use-GOBUILDFLAGS.patch

diff --git a/recipes-containers/runc/files/0001-Makefile-respect-GOBUILDFLAGS.patch b/recipes-containers/runc/files/0001-Makefile-respect-GOBUILDFLAGS.patch new file mode 100644
index 0000000..ac9aa3d
--- /dev/null
+++
b/recipes-containers/runc/files/0001-Makefile-respect-GOBUILDFLAGS.patch

recipes-containers/runc/files/0001-Makefile-respect-GOBUILDFLAGS.patch new file +21 -0
@@ -0,0 +1,28 @@
+From 7d6f130ebe427412c41cd11148be6db7711e32c1 Mon Sep 17 00:00:00 2001
+From: Chen Qi <[email protected]>
+Date: Mon, 5 Aug 2019 13:29:50 +0800
+Subject: [PATCH] Makefile: respect GOBUILDFLAGS
+
+Signed-off-by: Chen Qi <[email protected]>
+
+Upstream-Status: Inappropriate [OE Specific]
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 0f26a1c8..45c6c221 100644
+--- a/src/import/Makefile
++++ b/src/import/Makefile
+@@ -30,7 +30,7 @@ SHELL := $(shell command -v bash 2>/dev/null)
+ .DEFAULT: runc
+
+ runc: $(SOURCES)
+-      $(GO) build -buildmode=pie $(EXTRA_FLAGS) -ldflags "-X

main.gitCommit=${COMMIT} -X main.version=${VERSION} $(EXTRA_LDFLAGS)" -tags "$(BUILDTAGS)" -o runc .
++ $(GO) build $(GOBUILDFLAGS) $(EXTRA_FLAGS) -ldflags "-X
main.gitCommit=${COMMIT} -X main.version=${VERSION} $(EXTRA_LDFLAGS)" -tags "$(BUILDTAGS)" -o runc .

recipes-containers/runc/files/0001-Makefile-respect-GOBUILDFLAGS.patch new file +6 -0
+
+ all: runc recvtty
+
+--
+2.17.1
+

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 deleted file mode 100644
index 9ba9957..0000000
---
a/recipes-containers/runc/runc-docker/0001-build-drop-recvtty-and-use-GOBUILDFLAGS.patch +++ /dev/null

recipes-containers/runc/runc-docker/0001-build-drop-recvtty-and-use-GOBUILDFLAGS.patch deleted +0 -18
@@ -1,22 +0,0 @@
-From a9a2b9e72027d0b2357f6dfe8b154762aaa8dd02 Mon Sep 17 00:00:00 2001
-From: Bruce Ashfield <[email protected]>
-Date: Thu, 19 Apr 2018 16:39:41 -0400
-Subject: [PATCH] build: drop recvtty and use GOBUILDFLAGS
-
-Signed-off-by: Bruce Ashfield <[email protected]>
----
- Makefile | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-Index: git/src/import/Makefile
-===================================================================
---- git.orig/src/import/Makefile
-+++ git/src/import/Makefile
-@@ -41,7 +41,6 @@
-
- static: $(SOURCES)
-       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 .
-- 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

recipes-containers/runc/runc-docker/0001-build-drop-recvtty-and-use-GOBUILDFLAGS.patch deleted +0 -3
-
- release:
-       script/release.sh -r release/$(VERSION) -v $(VERSION)
recipes-containers/runc/runc-docker_git.bb +1 -1
index 2bf6222..d4e4d24 100644
@@ -5,8 +5,8 @@ include runc.inc
 SRCREV_runc-docker = "425e105d5a03fabd737a126ad93d62a9eeede87f"
 SRC_URI = "git://
 github.com/opencontainers/runc;nobranch=1;name=runc-docker \
            file://0001-runc-Add-console-socket-dev-null.patch \
-           file://0001-build-drop-recvtty-and-use-GOBUILDFLAGS.patch \
            file://0001-runc-docker-SIGUSR1-daemonize.patch \
+           file://0001-Makefile-respect-GOBUILDFLAGS.patch \
           "
 

RUNC_VERSION = "1.0.0-rc8"

recipes-containers/runc/runc.inc +1 -2
index 1f2f944..fe997f1 100644
@@ -54,7 +54,7 @@ do_compile() {
        export CFLAGS=""
        export LDFLAGS=""
 
-       oe_runmake
+       oe_runmake runc
 }
 
 do_install() {
--

2.17.1

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

author
#3 lore raw

Re: [PATCH 2/4] runc: remove static to enable building systemd support

In reply to Bruce Ashfield
Quoted 23 lines · Bruce Ashfield

On Mon., Aug. 5, 2019, 3:02 a.m. Chen Qi, <[email protected] <mailto:[email protected]>> wrote:

Remove the 'static' from do_compile to enable systemd support. This avoid runtime error is docker's cgroup driver is set to systemd on systemd based images.

<mailto:[email protected]>>
---
recipes-containers/runc/runc.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-containers/runc/runc.inc
b/recipes-containers/runc/runc.inc
index 46fd09d..1f2f944 100644
--- a/recipes-containers/runc/runc.inc
+++ b/recipes-containers/runc/runc.inc
@@ -54,7 +54,7 @@ do_compile() {
export CFLAGS=""
export LDFLAGS=""

Quoted 9 lines

- oe_runmake static
+ oe_runmake

This needs to be optional, via a packageconfig that can be overidden and that can trigger a default of the init manager is systemd. (I actually want static and systemd in my configs )

Bruce

So we introduce a PACKAGECONFIG, whose effect is using static when enabled and dropping static when disabled. By default, it's disabled if systemd is in use.

Right?

Regards,
Chen Qi

Quoted 13 lines
     }

     do_install() {
    -- 
    2.17.1

    -- 
    _______________________________________________
    meta-virtualization mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.yoctoproject.org/listinfo/meta-virtualization
#4 lore raw

Re: [PATCH 2/4] runc: remove static to enable building systemd support

Quoted 24 lines · ChenQi
Quoted 23 lines · Bruce Ashfield

On Mon., Aug. 5, 2019, 3:02 a.m. Chen Qi, <[email protected] <mailto:[email protected]>> wrote:

Remove the 'static' from do_compile to enable systemd support. This avoid runtime error is docker's cgroup driver is set to systemd on systemd based images.

Signed-off-by Chen Qi <[email protected] <mailto:[email protected]>>

---
 recipes-containers/runc/runc.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-containers/runc/runc.inc
b/recipes-containers/runc/runc.inc
index 46fd09d..1f2f944 100644
--- a/recipes-containers/runc/runc.inc
+++ b/recipes-containers/runc/runc.inc
@@ -54,7 +54,7 @@ do_compile() {
        export CFLAGS=""
        export LDFLAGS=""

Quoted 3 lines
Quoted 3 lines

-       oe_runmake static
+       oe_runmake

runc is one of those things that may need to be static in some configurations. Since it has security impact, updating runc (and the libc) should be done in paralell and this can cause problems otherwise.

Now, that doesn't mean it HAS to be static, but it should be a configuration and may be wise to have as the default to be static.

Quoted 10 lines
Quoted 7 lines

This needs to be optional, via a packageconfig that can be overidden and that can trigger a default of the init manager is systemd. (I actually want static and systemd in my configs )

Bruce

So we introduce a PACKAGECONFIG, whose effect is using static when enabled and dropping static when disabled. By default, it's disabled if systemd is in use.

So PACKAGECONFIG is the right answer here. I'm not sure what the right default for the recipe is.... but in the end the users configuration and distro can and should be able to select what they want.

--Mark

Quoted 20 lines

Right?

Regards,
Chen Qi

Quoted 13 lines
     }

     do_install() {
    -- 
    2.17.1

    -- 
    _______________________________________________
    meta-virtualization mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.yoctoproject.org/listinfo/meta-virtualization
#5 lore raw

Re: [PATCH 2/4] runc: remove static to enable building systemd support

In reply to ChenQi
Quoted 33 lines · ChenQi

On 08/05/2019 07:28 PM, Bruce Ashfield wrote:

Quoted 15 lines · On Mon., Aug. 5, 2019, 3:02 a.m. Chen Qi, <[email protected]> wrote:

Remove the 'static' from do_compile to enable systemd support. This avoid runtime error is docker's cgroup driver is set to systemd on systemd based images.

---
 recipes-containers/runc/runc.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-containers/runc/runc.inc +0 -0
index 46fd09d..1f2f944 100644

recipes-containers/runc/runc.inc do_compile() { · line 58

Quoted 6 lines
recipes-containers/runc/runc.inc +1 -1
@@ -54,7 +54,7 @@ do_compile() {
        export CFLAGS=""
        export LDFLAGS=""
 
-       oe_runmake static
+       oe_runmake
 

This needs to be optional, via a packageconfig that can be overidden and that can trigger a default of the init manager is systemd. (I actually want static and systemd in my configs )

Quoted 7 lines

Bruce

So we introduce a PACKAGECONFIG, whose effect is using static when enabled and dropping static when disabled. By default, it's disabled if systemd is in use.

Yes. That's what I meant, but on further thought, I'd prefer to not change the default build config even with systemd enabled at the moment.

So we can introduce a packageconfig, make static the default and then allow bbappends to change it to what they want. Once it has been in the layer for a bit, we can change the default.

Bruce

Quoted 20 lines

Right?

Regards,
Chen Qi

}

Quoted 11 lines
recipes-containers/runc/runc.inc +0 -1
 do_install() {
--

2.17.1

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II