Skip to content

Commit

Permalink
build(pacman): ppc
Browse files Browse the repository at this point in the history
  • Loading branch information
2moe committed Mar 26, 2024
1 parent ffcdb94 commit 3be339e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-pacman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
fail-fast: false
matrix:
arch:
- rv64gc
- armv7a
# - rv64gc
# - armv7a
- ppc64le
- ppc
- ppc64
Expand Down
2 changes: 1 addition & 1 deletion src/cross-build-pacman/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ set -feo pipefail
cd aur-pacman-static/
# sudo pacman -Sy
pacman-install openssl clang ||:
sed -E "/aarch64/ s@^(arch=).*@\1('riscv64' 'powerpc' 'powerpc64' 'powerpc64le' 'i486' 'i686' 'pentium4' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')@" -i PKGBUILD
sed -E "/aarch64/ s@^(arch=).*@\1('riscv64' 'loong64' 'powerpc' 'powerpc64' 'powerpc64le' 'i486' 'i686' 'pentium4' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')@" -i PKGBUILD
makepkg -s --noconfirm --skippgpcheck
sudo mkdir -p /app
sudo cp pkg/pacman-static/usr/bin/pacman-*static /app
Expand Down
3 changes: 2 additions & 1 deletion src/pacman-static/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,10 @@ set -feo pipefail

installation_cmd=(
$cmd
-Sy
--overwrite '*'
--noconfirm
-Sy
--needed
)
failures=()
for pkg ($*) {
Expand Down

0 comments on commit 3be339e

Please sign in to comment.