[meta-virtualization] [PATCH] docker: downgrade lxc/docker-registry/rt-tests to suggests

Bruce Ashfield bruce.ashfield at windriver.com
Tue Mar 14 05:07:18 PDT 2017


On 2017-03-14 3:17 AM, Fathi Boudra wrote:
> Bruce, can you cherry-pick this patch in Morty branch?
> or do you prefer I send a patch for the branch?

No need for a patch, this is definitely good enough!

They cherry pick and push is now done for morty.

Cheers,

Bruce

>
> On 9 February 2017 at 09:25, Fathi Boudra <fathi.boudra at linaro.org> 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.
>>
>> Signed-off-by: Fathi Boudra <fathi.boudra at linaro.org>
>> ---
>>  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"
>> --
>> 2.11.0
>>
>
> Cheers,
> Fathi
>



More information about the meta-virtualization mailing list