mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
kubernetes: package remaining files into PN-misc
A previous commit changed do_installed to install everything, not just kube*, adjust PACKAGES to keep ${PN} empty as it was before. Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
parent
ba25e5c943
commit
7cae5520fd
|
@ -14,6 +14,7 @@ DEPENDS += "rsync-native \
|
|||
coreutils-native \
|
||||
"
|
||||
|
||||
PACKAGES =+ "${PN}-misc"
|
||||
PACKAGES =+ "kubeadm"
|
||||
PACKAGES =+ "kubectl"
|
||||
PACKAGES =+ "kubelet"
|
||||
|
@ -100,11 +101,13 @@ SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','kubelet','
|
|||
SYSTEMD_SERVICE_kubelet = "${@bb.utils.contains('DISTRO_FEATURES','systemd','kubelet.service','',d)}"
|
||||
SYSTEMD_AUTO_ENABLE_kubelet = "enable"
|
||||
|
||||
FILES_${PN}-misc = "${bindir}"
|
||||
FILES_kubeadm = "${bindir}/kubeadm ${systemd_unitdir}/system/kubelet.service.d/*"
|
||||
FILES_kubectl = "${bindir}/kubectl"
|
||||
FILES_kube-proxy = "${bindir}/kube-proxy"
|
||||
FILES_kubelet = "${bindir}/kubelet ${systemd_unitdir}/system/kubelet.service ${sysconfdir}/kubernetes/manifests/"
|
||||
|
||||
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
INSANE_SKIP_${PN} += "ldflags already-stripped"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user