|
@@ -49,6 +49,12 @@ ifneq ($(BR2_PACKAGE_CONTAINERD_CRI),y)
|
|
CONTAINERD_TAGS += no_cri
|
|
CONTAINERD_TAGS += no_cri
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
+ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
|
|
|
|
+# Go exe build with PIE doesn't work with musl.
|
|
|
|
+# See: https://github.com/golang/go/issues/17847
|
|
|
|
+CONTAINERD_EXTLDFLAGS += -Wl,--no-pie
|
|
|
|
+endif
|
|
|
|
+
|
|
define CONTAINERD_INSTALL_INIT_SYSTEMD
|
|
define CONTAINERD_INSTALL_INIT_SYSTEMD
|
|
$(INSTALL) -D -m 0644 $(@D)/containerd.service \
|
|
$(INSTALL) -D -m 0644 $(@D)/containerd.service \
|
|
$(TARGET_DIR)/usr/lib/systemd/system/containerd.service
|
|
$(TARGET_DIR)/usr/lib/systemd/system/containerd.service
|