Skip to content

Commit

Permalink
kubernetes-helm: disable completions on aarch64-musl
Browse files Browse the repository at this point in the history
  • Loading branch information
classabbyamp committed Jun 15, 2024
1 parent 0449d21 commit 010dbd5
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions srcpkgs/kubernetes-helm/template
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 010dbd5

Please sign in to comment.