From 23ec4ecd1198c2a82e232e16ebcb6290b9fa1a1f Mon Sep 17 00:00:00 2001 From: fwcd Date: Thu, 31 Aug 2023 02:19:33 +0200 Subject: [PATCH 1/3] Build Arch Linux 32 images --- .github/workflows/build-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml index 6e247f2..3ca08cf 100644 --- a/.github/workflows/build-deploy.yml +++ b/.github/workflows/build-deploy.yml @@ -41,6 +41,6 @@ jobs: uses: docker/build-push-action@v4 with: context: . - platforms: linux/amd64,linux/arm64,linux/arm/v7 # TODO: 32-bit x86 (linux/386) + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v7 push: ${{ github.ref == 'refs/heads/main' }} tags: ${{ steps.tags.outputs.NAME }}:latest,${{ steps.tags.outputs.NAME }}:${{ steps.tags.outputs.DATE }} From 047bd1d0c9936365d4b4690215851a90b8720109 Mon Sep 17 00:00:00 2001 From: fwcd Date: Thu, 31 Aug 2023 02:22:25 +0200 Subject: [PATCH 2/3] Specify all architectures explicitly --- rootfs/386/etc/pacman.conf | 2 +- rootfs/amd64/etc/pacman.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rootfs/386/etc/pacman.conf b/rootfs/386/etc/pacman.conf index 53e27cc..1f2afff 100644 --- a/rootfs/386/etc/pacman.conf +++ b/rootfs/386/etc/pacman.conf @@ -19,7 +19,7 @@ HoldPkg = pacman glibc #XferCommand = /usr/bin/curl -L -C - -f -o %o %u #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u #CleanMethod = KeepInstalled -Architecture = auto +Architecture = pentium4 # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup #IgnorePkg = diff --git a/rootfs/amd64/etc/pacman.conf b/rootfs/amd64/etc/pacman.conf index 7604fc4..516724c 100644 --- a/rootfs/amd64/etc/pacman.conf +++ b/rootfs/amd64/etc/pacman.conf @@ -19,7 +19,7 @@ HoldPkg = pacman glibc #XferCommand = /usr/bin/curl -L -C - -f -o %o %u #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u #CleanMethod = KeepInstalled -Architecture = auto +Architecture = x86_64 # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup #IgnorePkg = From 2f2ec1ef55244882d46166412804b2daee139e60 Mon Sep 17 00:00:00 2001 From: fwcd Date: Thu, 31 Aug 2023 02:23:55 +0200 Subject: [PATCH 3/3] Add `pentium4` to the list of architectures in the README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index dd2a537..4fea9bd 100644 --- a/README.md +++ b/README.md @@ -9,3 +9,4 @@ Unofficial, automated Docker multi-platform images of Arch Linux for the followi | x86_64 | `linux/amd64` | [Arch Linux](https://archlinux.org) | | aarch64 | `linux/arm64` | [Arch Linux ARM](https://archlinuxarm.org) | | armv7h | `linux/arm/v7` | [Arch Linux ARM](https://archlinuxarm.org) | +| pentium4 | `linux/386` | [Arch Linux 32](https://archlinux32.org) |