mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
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>
This commit is contained in:
parent
7a8167fa82
commit
9d5d904f8a
|
@ -88,6 +88,8 @@ do_install() {
|
|||
ln -sf containerd-shim ${D}/${bindir}/docker-containerd-shim
|
||||
ln -sf containerd-ctr ${D}/${bindir}/docker-containerd-ctr
|
||||
|
||||
ln -sf containerd-ctr ${D}/${bindir}/ctr
|
||||
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 644 ${WORKDIR}/containerd.service ${D}/${systemd_unitdir}/system
|
||||
|
|
Loading…
Reference in New Issue
Block a user