summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2024-04-30 14:17:33 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2024-05-02 18:00:28 +0000
commit0ad7db7dbd2f355288a239009b32375569103e04 (patch)
tree6bd784ed38639e0c70163d4615157bb67d6f489c
parent56168b10f00e64a438827b781b320bb7f1a9a147 (diff)
downloadmeta-virtualization-0ad7db7dbd2f355288a239009b32375569103e04.tar.gz
kubernetes: skip textrel QA warning
-buildmode=pie need cgo is enabled, but for kubernetes, some build targets are static, and cgo is disable in build script directly, refer [1]. If we add -buildmode=pie by default, will cause these static target build failed with error "-buildmode=pie requires external (cgo) linking, but cgo is not enabled". This warning is acceptable, so just skip it. [1] https://github.com/kubernetes/kubernetes/blob/master/hack/lib/golang.sh#L811 Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-containers/kubernetes/kubernetes_git.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-containers/kubernetes/kubernetes_git.bb b/recipes-containers/kubernetes/kubernetes_git.bb
index caa5ec17..0df6dbfa 100644
--- a/recipes-containers/kubernetes/kubernetes_git.bb
+++ b/recipes-containers/kubernetes/kubernetes_git.bb
@@ -125,7 +125,7 @@ PACKAGES =+ "kubeadm kubectl kubelet kube-proxy ${PN}-misc ${PN}-host"
125ALLOW_EMPTY:${PN} = "1" 125ALLOW_EMPTY:${PN} = "1"
126INSANE_SKIP:${PN} += "ldflags already-stripped" 126INSANE_SKIP:${PN} += "ldflags already-stripped"
127INSANE_SKIP:${PN}-misc += "ldflags already-stripped textrel" 127INSANE_SKIP:${PN}-misc += "ldflags already-stripped textrel"
128INSANE_SKIP:kubelet += "ldflags already-stripped" 128INSANE_SKIP:${MLPREFIX}kubelet += "ldflags already-stripped textrel"
129 129
130# Note: we are explicitly *not* adding docker to the rdepends, since we allow 130# Note: we are explicitly *not* adding docker to the rdepends, since we allow
131# backends like cri-o to be used. 131# backends like cri-o to be used.