mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
docker: make docker-init a runtime dependency by default
If docker run --init is used docker expects docker-init to be
present, if not Docker fails to start the container with the
following error:
docker: Error response from daemon: exec: "docker-init": executable file not found in $PATH.
However, docker-init does not get deployed by default since commit
d19fda3743
("docker: consolidate common depends/options"). Readd
docker-init through a PACKAGECONFIG RDEPENDS to make sure it gets
deployed by default again.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
a7da69d1fa
commit
eaba9b3acc
|
@ -32,8 +32,9 @@ RDEPENDS_${PN} += "virtual/containerd virtual/runc"
|
|||
RRECOMMENDS_${PN} = "kernel-module-dm-thin-pool kernel-module-nf-nat"
|
||||
|
||||
inherit pkgconfig
|
||||
PACKAGECONFIG ??= ""
|
||||
PACKAGECONFIG ??= "docker-init"
|
||||
PACKAGECONFIG[seccomp] = "seccomp,,libseccomp"
|
||||
PACKAGECONFIG[docker-init] = ",,,docker-init"
|
||||
|
||||
inherit systemd update-rc.d
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user