Bug 11076 - Docker containerd installed to incorrect path
Summary: Docker containerd installed to incorrect path
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2018.05
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-07 07:05 UTC by Sam Lancia
Modified: 2018-06-07 14:05 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Lancia 2018-06-07 07:05:54 UTC
In 2dccb4f2fefd8a0dbda65dd0f7537f811e920b13, the following change was made:

-define DOCKER_CONTAINERD_INSTALL_TARGET_CMDS
+define DOCKER_CONTAINERD_INSTALL_SYMLINKS
        ln -fs runc $(TARGET_DIR)/usr/bin/docker-runc
-       $(INSTALL) -D -m 0755 $(@D)/bin/containerd $(TARGET_DIR)/usr/bin/docker-containerd
-       $(INSTALL) -D -m 0755 $(@D)/bin/containerd-shim $(TARGET_DIR)/usr/bin/containerd-shim
        ln -fs containerd-shim $(TARGET_DIR)/usr/bin/docker-containerd-shim
 endef

This removed "/usr/bin/docker-containerd" without replacing it with a symlink

When I figure out how I will create a patch and send to the mailer
Comment 1 Thomas Petazzoni 2018-06-07 14:05:37 UTC
Fixed by https://git.buildroot.org/buildroot/commit/?id=ded50f69c691e4b4a391ee23ec466abaad4bed99. Thanks Sam!