mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
kubernetes: convert remaining WORKDIR references to UNPACKDIR
While the WORKDIR references seem to work, they may not continue to work. We switch to using UNPACKDIR which is where the SRC_URI referenced elements / files will be placed by the fetcher. The remaining WORDIR references are to a secondary git repository with artifacts and should be safe. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
01a6b4771f
commit
2aa6da625d
|
@ -112,14 +112,14 @@ do_install() {
|
||||||
|
|
||||||
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
|
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
|
||||||
install -d "${D}${BIN_PREFIX}${base_bindir}"
|
install -d "${D}${BIN_PREFIX}${base_bindir}"
|
||||||
install -m 755 "${WORKDIR}/k8s-init" "${D}${BIN_PREFIX}${base_bindir}"
|
install -m 755 "${UNPACKDIR}/k8s-init" "${D}${BIN_PREFIX}${base_bindir}"
|
||||||
|
|
||||||
install -d ${D}${sysconfdir}/sysctl.d
|
install -d ${D}${sysconfdir}/sysctl.d
|
||||||
install -m 0644 "${WORKDIR}/99-kubernetes.conf" "${D}${sysconfdir}/sysctl.d"
|
install -m 0644 "${UNPACKDIR}/99-kubernetes.conf" "${D}${sysconfdir}/sysctl.d"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
CNI_NETWORKING_FILES ?= "${WORKDIR}/cni-containerd-net.conflist"
|
CNI_NETWORKING_FILES ?= "${UNPACKDIR}/cni-containerd-net.conflist"
|
||||||
|
|
||||||
PACKAGES =+ "kubeadm kubectl kubelet kube-proxy ${PN}-misc ${PN}-host"
|
PACKAGES =+ "kubeadm kubectl kubelet kube-proxy ${PN}-misc ${PN}-host"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user