Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 696CDE009CF; Thu, 9 Feb 2017 06:53:00 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [147.11.1.11 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 2EA27E006D8 for ; Thu, 9 Feb 2017 06:52:57 -0800 (PST) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.15.2/8.15.1) with ESMTPS id v19Equcu023457 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 9 Feb 2017 06:52:56 -0800 (PST) Received: from [128.224.56.214] (128.224.56.214) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.3.294.0; Thu, 9 Feb 2017 06:52:55 -0800 To: Fathi Boudra References: <20170209072501.19696-1-fathi.boudra@linaro.org> <1269f062-84ce-cce9-b242-73853573593f@windriver.com> From: Bruce Ashfield Message-ID: <93d15804-5015-d147-25d5-c6e1ea860e30@windriver.com> Date: Thu, 9 Feb 2017 09:52:54 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: Cc: meta-virtualization@yoctoproject.org, Koen Kooi Subject: Re: [PATCH] docker: downgrade lxc/docker-registry/rt-tests to suggests X-BeenThere: meta-virtualization@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Discussion of layer enabling hypervisor, virtualization tool stack, and cloud support" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2017 14:53:00 -0000 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit On 2017-02-09 09:52 AM, Fathi Boudra wrote: > On 9 February 2017 at 15:56, Bruce Ashfield > wrote: >> On 2017-02-09 02:25 AM, Fathi Boudra wrote: >>> >>> Regular users don't need lxc, docker-registry and rt-tests on the target. >>> These tools aren't even needed or provide additional features when running >>> docker at runtime. They also increase the size of the image uneccessarily. >> >> >> They can also just inhibit the installation of rrecommends (which is >> what I do). >> >> But yes, I'm ok with making sure that these aren't slipping into more >> builds than necessary. > > yes, that's what I thought too but I think it's worth fixing to avoid > everybody using docker to fallback using BAD_RECOMMENDATIONS, > NO_RECOMMENDATIONS or PACKAGE_EXCLUDE. Agreed. It isn't obvious why lxc appears on the target when you just want docker :D This is now merged. Bruce > >> Bruce >> >> >>> >>> Signed-off-by: Fathi Boudra >>> --- >>> recipes-containers/docker/docker_git.bb | 4 ++-- >>> 1 file changed, 2 insertions(+), 2 deletions(-) >>> >>> diff --git a/recipes-containers/docker/docker_git.bb >>> b/recipes-containers/docker/docker_git.bb >>> index c208a02..81fd4d4 100644 >>> --- a/recipes-containers/docker/docker_git.bb >>> +++ b/recipes-containers/docker/docker_git.bb >>> @@ -61,8 +61,8 @@ RDEPENDS_${PN} = "curl aufs-util git util-linux iptables >>> \ >>> >>> ${@bb.utils.contains('DISTRO_FEATURES','systemd','','cgroup-lite',d)} \ >>> " >>> RDEPENDS_${PN} += "containerd runc" >>> -RRECOMMENDS_${PN} = "lxc docker-registry rt-tests" >>> -RRECOMMENDS_${PN} += " kernel-module-dm-thin-pool kernel-module-nf-nat" >>> +RRECOMMENDS_${PN} = "kernel-module-dm-thin-pool kernel-module-nf-nat" >>> +RSUGGESTS_${PN} = "lxc docker-registry rt-tests" >>> DOCKER_PKG="github.com/docker/docker" >>> >>> do_configure[noexec] = "1" >>>