{"id":815981,"url":"http://patchwork.ozlabs.org/api/patches/815981/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/patch/20170920030210.19446-5-christian@paral.in/","project":{"id":27,"url":"http://patchwork.ozlabs.org/api/projects/27/?format=json","name":"Buildroot development","link_name":"buildroot","list_id":"buildroot.buildroot.org","list_email":"buildroot@buildroot.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170920030210.19446-5-christian@paral.in>","list_archive_url":null,"date":"2017-09-20T03:02:05","name":"[4/9] docker-engine: select static for tini and dumb-init","commit_ref":null,"pull_url":null,"state":"rfc","archived":false,"hash":"382fcd8305ba0b7b8f8c3f9780e47730cc6b4e3c","submitter":{"id":66856,"url":"http://patchwork.ozlabs.org/api/people/66856/?format=json","name":"Christian Stewart","email":"christian@paral.in"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/buildroot/patch/20170920030210.19446-5-christian@paral.in/mbox/","series":[{"id":4003,"url":"http://patchwork.ozlabs.org/api/series/4003/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/list/?series=4003","date":"2017-09-20T03:02:02","name":"Upgrading Go to 1.9 and Docker to v2017.07","version":1,"mbox":"http://patchwork.ozlabs.org/series/4003/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/815981/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/815981/checks/","tags":{},"related":[],"headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.138; helo=whitealder.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=paral-in.20150623.gappssmtp.com\n\theader.i=@paral-in.20150623.gappssmtp.com header.b=\"H2tcjCuY\";\n\tdkim-atps=neutral"],"Received":["from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xxl9f412zz9s82\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 20 Sep 2017 13:10:30 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 9600A888C7;\n\tWed, 20 Sep 2017 03:10:28 +0000 (UTC)","from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 9TxeoIUddfMo; Wed, 20 Sep 2017 03:10:28 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id CC1B98890C;\n\tWed, 20 Sep 2017 03:10:27 +0000 (UTC)","from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id D28921C0169\n\tfor <buildroot@lists.busybox.net>;\n\tWed, 20 Sep 2017 03:10:25 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id C8EEA87AB9\n\tfor <buildroot@lists.busybox.net>;\n\tWed, 20 Sep 2017 03:10:25 +0000 (UTC)","from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id N8ZYCQwMEamK for <buildroot@lists.busybox.net>;\n\tWed, 20 Sep 2017 03:10:25 +0000 (UTC)","from mail-wr0-f182.google.com (mail-wr0-f182.google.com\n\t[209.85.128.182])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id CDA6D87A85\n\tfor <buildroot@buildroot.org>; Wed, 20 Sep 2017 03:10:24 +0000 (UTC)","by mail-wr0-f182.google.com with SMTP id l39so1009472wrl.12\n\tfor <buildroot@buildroot.org>; Tue, 19 Sep 2017 20:10:24 -0700 (PDT)","from ember.home ([2a00:23c1:5b80:3501:e08a:3b55:75b1:41fb])\n\tby smtp.gmail.com with ESMTPSA id\n\ti131sm585601wmf.31.2017.09.19.20.02.20\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tTue, 19 Sep 2017 20:02:20 -0700 (PDT)"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"from auto-whitelisted by SQLgrey-1.7.6","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=paral-in.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=wqvlko7SjzRT02XMvphtrTW0YSURLa6dqrGOinAXDQQ=;\n\tb=H2tcjCuYfZDqB6OTi+1w0RDE9gA8857bjmYLT48SShHQqNOhoJlFYJUyvXryxSys3/\n\tGIf3chhVTLVup4pgDJ8FHih95pGEiB0BT4/NN4Rn63f1G8GRbzDjgvC898z8SMqjRV+t\n\taI5jmF2Kvav5VjIyZpziUwDPy2KSOdaC3X7IxN+EtXF3tkpyGBcloHcQ+YQGTmSH99x5\n\taZLlDy/nRt3N/9mEnuKJxUQkZ073DMi20iLlq4JSZLPJeKEk8uahiLgCz9fubvc0Yzxw\n\t65iqNzQJqmn6dk7famLlWGK4e8vpgpffY3sQCczsHzy6Rz/dzxbrRcPlooOFLICuvAud\n\tjItg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=wqvlko7SjzRT02XMvphtrTW0YSURLa6dqrGOinAXDQQ=;\n\tb=C/Ctm7lUKBSf1a1IgFqLmLyOCuNBSwdeSUbQTI6iHyN8812b/0YV5U/eTUxZdCogm5\n\t0M0YzNqywyr/kxjnTNV+pQ4lsMwZ9/Gj2YSTAMtK6GTF+x2zw9SnyYsdmdTJkEMygVbg\n\tX2wGenoDSNx8zl+VzPvr2Ri0jLoovvX4SWGK9+cDZ4QoRETcFJZSCHwtj5rkwtDieK1T\n\t1A4msgbPpDpVWGLm9I4RAgzrQDylQt7QwwzpFmzfxjaCVnAYdxiTbZ0cHRtt3GI6zHZx\n\tjWhpZk1ooqQXvyIaMWyKuULiLKiUGo9mzD56kjheuc5x7vPFQX+Dp4MloyK32dTus0M8\n\tUSLA==","X-Gm-Message-State":"AHPjjUhdsMBdkftpqJ43fXj3zmBs+ACxCoXu2C6QVJ4DdwYjXDRhHGzd\n\t+IMN0HR5g3rUTNnKQd2uk1yMtB98","X-Google-Smtp-Source":"AOwi7QCpMWMkJ0HqiqWqsv8qI8PtbQns7a50JJLfWqDEdkHYrdMKuYAU9UK4K/oNkCqjBhbIRI/0eA==","X-Received":"by 10.223.135.97 with SMTP id 30mr2856612wrz.245.1505876541321; \n\tTue, 19 Sep 2017 20:02:21 -0700 (PDT)","From":"Christian Stewart <christian@paral.in>","To":"buildroot@buildroot.org","Date":"Wed, 20 Sep 2017 04:02:05 +0100","Message-Id":"<20170920030210.19446-5-christian@paral.in>","X-Mailer":"git-send-email 2.13.5","In-Reply-To":"<20170920030210.19446-1-christian@paral.in>","References":"<20170920030210.19446-1-christian@paral.in>","Cc":"thomas.petazzoni@free-electrons.com, geoff@infradead.org,\n\tChristian Stewart <christian@paral.in>","Subject":"[Buildroot] [PATCH 4/9] docker-engine: select static for tini and\n\tdumb-init","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.18-1","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"},"content":"In many cases docker-init backing processes like Tini and dumb-init must\nbe static, as they are executed inside a container in an unknown\nenvironment. This patch selects the static compilation options on both\npackages when used as docker-init backing processes.\n\nSigned-off-by: Christian Stewart <christian@paral.in>\n---\n package/docker-engine/Config.in | 2 ++\n 1 file changed, 2 insertions(+)","diff":"diff --git a/package/docker-engine/Config.in b/package/docker-engine/Config.in\nindex 7d9a87f7bb..47ac7f57a3 100644\n--- a/package/docker-engine/Config.in\n+++ b/package/docker-engine/Config.in\n@@ -44,6 +44,7 @@ choice\n config BR2_PACKAGE_DOCKER_ENGINE_INIT_TINI\n \tbool \"tini\"\n \tselect BR2_PACKAGE_TINI\n+\tselect BR2_PACKAGE_TINI_STATIC\n \thelp\n \t  Use Tini as the container init process.\n \n@@ -52,6 +53,7 @@ config BR2_PACKAGE_DOCKER_ENGINE_INIT_TINI\n config BR2_PACKAGE_DOCKER_ENGINE_INIT_DUMB_INIT\n \tbool \"dumb-init\"\n \tselect BR2_PACKAGE_DUMB_INIT\n+\tselect BR2_PACKAGE_DUMB_INIT_STATIC\n \thelp\n \t  Use dumb-init as the container init process.\n \n","prefixes":["4/9"]}