docker: readd docker-init to RRECOMMENDS
PATCH 1/1 docker: readd docker-init to RRECOMMENDS
From: Stefan Agner <[email protected]>
If docker run --init is used docker expects docker-init to be present. However, it has been removed by commit d19fda374317 ("docker: consolidate common depends/options"). Readd docker-init to RRECOMMENDS to make sure its typically deployed.
--- recipes-containers/docker/docker.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-containers/docker/docker.inc +1 -1
@@ -29,7 +29,7 @@ RDEPENDS_${PN} = "util-linux util-linux-unshare iptables \ " RDEPENDS_${PN} += "virtual/containerd virtual/runc" -RRECOMMENDS_${PN} = "kernel-module-dm-thin-pool kernel-module-nf-nat" +RRECOMMENDS_${PN} = "kernel-module-dm-thin-pool kernel-module-nf-nat docker-init" inherit pkgconfig PACKAGECONFIG ??= ""
Signature · 1 line
2.13.6
Quoted 8 lines · Stefan Agner
From: Stefan Agner <[email protected]>
If docker run --init is used docker expects docker-init to be present. However, it has been removed by commit
d19fda374317("docker: consolidate common depends/options"). Readd docker-init to RRECOMMENDS to make sure its typically deployed.
The more I think about it, this should either just be a RDEPENDS all the time .. or a PACKAGECONFIG RDEPENDS.
Since it is functionality that docker may look for, the RRECOMMENDS seems to weak.
Making it a packageconfig gives us the most flexibility, since it hasn't been installed since I did the re-work, and no one else has noticed :D So if we make it a packageconfig, it is trivial to add for anyone that wants it, and we can consider making it a default packageconfig in the fall release.
Bruce
Quoted 21 lines
Signed-off-by Stefan Agner <[email protected]>--- recipes-containers/docker/docker.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-containers/docker/docker.inc +1
-2@@ -29,7 +29,7 @@ RDEPENDS_${PN} = "util-linux util-linux-unshare iptables \ " RDEPENDS_${PN} += "virtual/containerd virtual/runc" -RRECOMMENDS_${PN} = "kernel-module-dm-thin-pool kernel-module-nf-nat" +RRECOMMENDS_${PN} = "kernel-module-dm-thin-pool kernel-module-nf-nat docker-init" inherit pkgconfig PACKAGECONFIG ??= "" --2.13.6
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