diff options
| -rw-r--r-- | recipes-containers/kubernetes/kubernetes_git.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-containers/kubernetes/kubernetes_git.bb b/recipes-containers/kubernetes/kubernetes_git.bb index fefb2c13..e6c7aed7 100644 --- a/recipes-containers/kubernetes/kubernetes_git.bb +++ b/recipes-containers/kubernetes/kubernetes_git.bb | |||
| @@ -104,8 +104,8 @@ do_install() { | |||
| 104 | install -m 0644 ${WORKDIR}/git/release/cmd/kubepkg/templates/latest/deb/kubeadm/10-kubeadm.conf ${D}${systemd_unitdir}/system/kubelet.service.d/ | 104 | install -m 0644 ${WORKDIR}/git/release/cmd/kubepkg/templates/latest/deb/kubeadm/10-kubeadm.conf ${D}${systemd_unitdir}/system/kubelet.service.d/ |
| 105 | 105 | ||
| 106 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 106 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
| 107 | install -d "${D}${BIN_PREFIX}/bin" | 107 | install -d "${D}${BIN_PREFIX}${base_bindir}" |
| 108 | install -m 755 "${WORKDIR}/k8s-init" "${D}${BIN_PREFIX}/bin" | 108 | install -m 755 "${WORKDIR}/k8s-init" "${D}${BIN_PREFIX}${base_bindir}" |
| 109 | 109 | ||
| 110 | install -d ${D}${sysconfdir}/sysctl.d | 110 | install -d ${D}${sysconfdir}/sysctl.d |
| 111 | install -m 0644 "${WORKDIR}/99-kubernetes.conf" "${D}${sysconfdir}/sysctl.d" | 111 | install -m 0644 "${WORKDIR}/99-kubernetes.conf" "${D}${sysconfdir}/sysctl.d" |
| @@ -143,7 +143,7 @@ FILES:kube-proxy = "${bindir}/kube-proxy" | |||
| 143 | FILES:${PN}-misc = "${bindir} ${sysconfdir}/sysctl.d" | 143 | FILES:${PN}-misc = "${bindir} ${sysconfdir}/sysctl.d" |
| 144 | 144 | ||
| 145 | ALLOW_EMPTY:${PN}-host = "1" | 145 | ALLOW_EMPTY:${PN}-host = "1" |
| 146 | FILES:${PN}-host = "${BIN_PREFIX}/bin/k8s-init" | 146 | FILES:${PN}-host = "${BIN_PREFIX}${base_bindir}/k8s-init" |
| 147 | RDEPENDS:${PN}-host = "${PN}" | 147 | RDEPENDS:${PN}-host = "${PN}" |
| 148 | 148 | ||
| 149 | RRECOMMENDS:${PN} = "\ | 149 | RRECOMMENDS:${PN} = "\ |
