mirror of
https://github.com/goreleaser/nfpm
synced 2025-12-30 01:11:42 +01:00
* docs: migrate to hugo and hextra Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * chore: cleanup Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * fix: htmltest Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * ci: update Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * chore: eof Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * docs: udpate Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * wip Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * docs: improvements Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * ci: fix Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * better icons Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * wip Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * wip Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * fix: updates Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * wip Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> --------- Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
84 lines
1.7 KiB
Markdown
84 lines
1.7 KiB
Markdown
---
|
|
title: GOARCH to Packager
|
|
weight: 5
|
|
---
|
|
|
|
nFPM was branched out of [GoReleaser](https://goreleaser.com), so some of it
|
|
lean towards "the Go way" (whatever that means).
|
|
|
|
GoReleaser passes a string joining `GOARCH`, `GOARM`, etc as the package
|
|
architecture, and nFPM converts to the correct one for each packager.
|
|
|
|
Bellow is a list of the current conversions that are made.
|
|
Please, feel free to open an issue if you see anything wrong, or if you know the
|
|
correct value of some missing architecture.
|
|
|
|
Thank you!
|
|
|
|
---
|
|
|
|
{{< tabs items="Deb,RPM,APK,Arch Linux" >}}
|
|
|
|
{{< tab >}}
|
|
|
|
| GOARCH | Value |
|
|
| :--------: | :--------: |
|
|
| `386` | `i386` |
|
|
| `amd64` | `amd64` |
|
|
| `arm64` | `arm64` |
|
|
| `arm5` | `armel` |
|
|
| `arm6` | `armhf` |
|
|
| `arm7` | `armhf` |
|
|
| `mips64le` | `mips64el` |
|
|
| `mips` | `mips` |
|
|
| `mipsle` | `mipsel` |
|
|
| `ppc64le` | `ppc64el` |
|
|
| `s390` | `s390x` |
|
|
|
|
{{< /tab >}}
|
|
|
|
{{< tab >}}
|
|
|
|
| GOARCH | Value |
|
|
| :--------: | :--------: |
|
|
| `386` | `i386` |
|
|
| `amd64` | `x86_64` |
|
|
| `arm64` | `aarch64` |
|
|
| `arm5` | `armv5tel` |
|
|
| `arm6` | `armv6hl` |
|
|
| `arm7` | `armv7hl` |
|
|
| `mips64le` | `mips64el` |
|
|
| `mips` | `mips` |
|
|
| `mipsle` | `mipsel` |
|
|
|
|
{{< /tab >}}
|
|
|
|
{{< tab >}}
|
|
|
|
| GOARCH | Value |
|
|
| :-------: | :-------: |
|
|
| `386` | `x86` |
|
|
| `amd64` | `x86_64` |
|
|
| `arm64` | `aarch64` |
|
|
| `arm6` | `armhf` |
|
|
| `arm7` | `armv7` |
|
|
| `ppc64le` | `ppc64le` |
|
|
| `s390` | `s390x` |
|
|
|
|
{{< /tab >}}
|
|
|
|
{{< tab >}}
|
|
|
|
| GOARCH | Value |
|
|
| :-----: | :-------: |
|
|
| `386` | `i686` |
|
|
| `amd64` | `x86_64` |
|
|
| `arm64` | `aarch64` |
|
|
| `arm5` | `arm` |
|
|
| `arm6` | `arm6h` |
|
|
| `arm7` | `armv7h` |
|
|
|
|
{{< /tab >}}
|
|
|
|
{{< /tabs >}}
|