mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
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>
This commit is contained in:
parent
74455bb615
commit
b50d4899fa
|
@ -125,7 +125,7 @@ PACKAGES =+ "kubeadm kubectl kubelet kube-proxy ${PN}-misc ${PN}-host"
|
|||
ALLOW_EMPTY:${PN} = "1"
|
||||
INSANE_SKIP:${PN} += "ldflags already-stripped"
|
||||
INSANE_SKIP:${PN}-misc += "ldflags already-stripped textrel"
|
||||
INSANE_SKIP:kubelet += "ldflags already-stripped"
|
||||
INSANE_SKIP:${MLPREFIX}kubelet += "ldflags already-stripped textrel"
|
||||
|
||||
# Note: we are explicitly *not* adding docker to the rdepends, since we allow
|
||||
# backends like cri-o to be used.
|
||||
|
|
Loading…
Reference in New Issue
Block a user