kubernetes-helm: disable completions on aarch64-musl

This commit is contained in:
classabbyamp 2024-06-14 21:22:28 -04:00
parent 0449d21ab4
commit 010dbd5d9c
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5

View File

@ -21,8 +21,12 @@ nopie=yes
LDFLAGS="-fuse-ld=bfd"
post_install() {
for shell in bash zsh; do
vtargetrun "${DESTDIR}/usr/bin/helm" completion "${shell}" > "helm.${shell}"
vcompletion "helm.${shell}" "${shell}"
done
if [ "$XBPS_TARGET_MACHINE" != aarch64-musl ]; then
# qemu-aarch64-static segfaults
# https://build.voidlinux.org/builders/aarch64-musl_builder/builds/49864/steps/shell_3/logs/stdio
for shell in bash zsh; do
vtargetrun "${DESTDIR}/usr/bin/helm" completion "${shell}" > "helm.${shell}"
vcompletion "helm.${shell}" "${shell}"
done
fi
}