Skip to content
Permalink
Browse files

feat: linux compatible arch for ppc64/ppc64le (#987)

Maps linuxppc64 and linuxppc64le to the standard ppc64 and ppc64le
nomenclature used in packages for these architectures.
  • Loading branch information...
pdemonaco authored and caarlos0 committed Mar 20, 2019
1 parent 6f2f760 commit adb6b947e4d295d47b722a9f6297c6371d2355ca
Showing with 4 additions and 0 deletions.
  1. +4 −0 internal/linux/arch.go
@@ -16,6 +16,10 @@ func Arch(key string) string {
return "armel"
case strings.Contains(key, "arm7"):
return "armhf"
case strings.Contains(key, "ppc64le"):
return "ppc64le"
case strings.Contains(key, "ppc64"):
return "ppc64"
}
return key
}

0 comments on commit adb6b94

Please sign in to comment.
You can’t perform that action at this time.