mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 17:06:58 +02:00
app-emulation/containerd: enable containerd
`docker.service` has a dependency to `containerd.service`: ``` $ systemctl list-dependencies docker.service docker.service containerd.service ... ``` If `docker.service` is not started (explicitly or via socket activation) `containerd.service` won't start. To ensure a seamless transition to kubernetes-1.24 let's enable by default `containerd.service`. Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
This commit is contained in:
parent
6ff3675810
commit
250760a51b
@ -62,6 +62,7 @@ src_compile() {
|
||||
src_install() {
|
||||
dobin bin/containerd{-shim,-shim-runc-v*,} bin/ctr
|
||||
systemd_newunit "${FILESDIR}/${PN}-1.0.0.service" "${PN}.service"
|
||||
systemd_enable_service multi-user.target "${PN}.service"
|
||||
insinto /usr/share/containerd
|
||||
doins "${FILESDIR}/config.toml"
|
||||
doins "${FILESDIR}/config-cgroupfs.toml"
|
||||
|
@ -23,7 +23,8 @@
|
||||
"/lib/systemd/system/containerd.service",
|
||||
"/lib/systemd/system/docker.service",
|
||||
"/lib/systemd/system/docker.socket",
|
||||
"/lib/systemd/system/sockets.target.wants"
|
||||
"/lib/systemd/system/sockets.target.wants",
|
||||
"/lib/systemd/system/multi-user.target.wants"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user