diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-10-25 21:35:13 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-10-27 14:27:35 -0400 |
| commit | 9d5d904f8abd2ae6ef2351751eb82f44024bbb35 (patch) | |
| tree | 11ac95e5b312e31d779b8e9e238e1c52da214aec | |
| parent | 7a8167fa82621dd606260450b1e648e50a1d79ab (diff) | |
| download | meta-virtualization-9d5d904f8abd2ae6ef2351751eb82f44024bbb35.tar.gz | |
containerd: provide 'ctr' along with 'containerd-ctr'
Historically we copied ctr into the install as containerd-ctr, but many
different guides expect 'ctr' to be present. So we make the copy and
then create a symlink to make both variants available.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
| -rw-r--r-- | recipes-containers/containerd/containerd.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-containers/containerd/containerd.inc b/recipes-containers/containerd/containerd.inc index 319e1981..2a14a44b 100644 --- a/recipes-containers/containerd/containerd.inc +++ b/recipes-containers/containerd/containerd.inc | |||
| @@ -88,6 +88,8 @@ do_install() { | |||
| 88 | ln -sf containerd-shim ${D}/${bindir}/docker-containerd-shim | 88 | ln -sf containerd-shim ${D}/${bindir}/docker-containerd-shim |
| 89 | ln -sf containerd-ctr ${D}/${bindir}/docker-containerd-ctr | 89 | ln -sf containerd-ctr ${D}/${bindir}/docker-containerd-ctr |
| 90 | 90 | ||
| 91 | ln -sf containerd-ctr ${D}/${bindir}/ctr | ||
| 92 | |||
| 91 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 93 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
| 92 | install -d ${D}${systemd_unitdir}/system | 94 | install -d ${D}${systemd_unitdir}/system |
| 93 | install -m 644 ${WORKDIR}/containerd.service ${D}/${systemd_unitdir}/system | 95 | install -m 644 ${WORKDIR}/containerd.service ${D}/${systemd_unitdir}/system |
