From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Thu, 1 Mar 2018 09:59:56 +0100 Subject: [Buildroot] [PATCH v2 4/9] docker-engine: select static for tini and dumb-init In-Reply-To: <20180301072012.25884-5-christian@paral.in> References: <20180301072012.25884-1-christian@paral.in> <20180301072012.25884-5-christian@paral.in> Message-ID: <20180301095956.11e3be8e@windsurf.lan> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello Christian, On Thu, 1 Mar 2018 02:20:07 -0500, Christian Stewart wrote: > In many cases docker-init backing processes like Tini and dumb-init must > be static, as they are executed inside a container in an unknown > environment. This patch selects the static compilation options on both > packages when used as docker-init backing processes. > > Signed-off-by: Christian Stewart > --- > package/docker-engine/Config.in | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/package/docker-engine/Config.in b/package/docker-engine/Config.in > index 7d9a87f7bb..47ac7f57a3 100644 > --- a/package/docker-engine/Config.in > +++ b/package/docker-engine/Config.in > @@ -44,6 +44,7 @@ choice > config BR2_PACKAGE_DOCKER_ENGINE_INIT_TINI > bool "tini" > select BR2_PACKAGE_TINI > + select BR2_PACKAGE_TINI_STATIC > help > Use Tini as the container init process. > > @@ -52,6 +53,7 @@ config BR2_PACKAGE_DOCKER_ENGINE_INIT_TINI > config BR2_PACKAGE_DOCKER_ENGINE_INIT_DUMB_INIT > bool "dumb-init" > select BR2_PACKAGE_DUMB_INIT > + select BR2_PACKAGE_DUMB_INIT_STATIC > help > Use dumb-init as the container init process. Unless I'm missing something, this patch is selecting options that don't exist anymore. Best regards, Thomas -- Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com