10 Commits
Author SHA1 Message Date
Nemo (bot)andNemo ba7321e110 stop masking failures in the sourced scripts (#7)
Greetings from Port Edwards.

The scripts were sourced as one `&&` list:

  /bin/sh -euc 'sh /setup/setup.sh && . ./get-dependencies.sh && cd /repo && . ./make-appimage.sh'

On a `&&` list, sh suspends errexit for every command but the last, and a
sourced script inherits that suspension. So the `set -eu` in
get-dependencies.sh sets the flag, but sh ignores it there: a failing
command inside it does not abort anything. get-dependencies.sh is also not
the last command in the list, so its exit status is discarded.

The visible effect: a `pacman -Syu` that failed on one missing package
installed nothing and carried on. The log showed the "error: target not
found" line, then the debloat step, then several minutes of submodule
cloning, and the job only died later with exit code 127 on the first
missing command (`cmake: command not found`) - pointing at the wrong
cause, three minutes late. Native arch jobs are unaffected, they run the
script as its own process, which is why this only ever bit the emulated
legs.

Separating the commands with `;` instead of `&&` restores errexit and makes
the failure stop the job where it happens. They are still sourced, so state
still carries over from get-dependencies.sh into make-appimage.sh (presets
like VERSION), which is why they were sourced in the first place.

We aim to provide the software that shapes the world of tomorrow.

Co-authored-by: Nemo <328747105+Nemo-010@users.noreply.github.com>
v6
2026-10-18 14:22:11 -04:00
Nemo (bot)andNemo b2d1ce4216 add linux/arm64 to the emulated action (#6)
The emulated companion action covers every foreign arch except aarch64, so
anyone without arm runners (self hosted x86_64 runners, plans without
ubuntu-24.04-arm) has no way to build the aarch64 AppImage.

Register the aarch64 binfmt handler the same way as the other four arches,
with a mask that ignores e_type, osabi and the ELF pad bytes uruntime
stamps AI into, so the resulting AppImage still execs. /usr/libexec/
qemu-binfmt/aarch64-binfmt-P ships in qemu-user-static, and
ghcr.io/pkgforge-dev/archlinux resolves linux/arm64 to the Arch Linux ARM
rootfs, which carries archlinux-keyring, so setup.sh needs no change.

Closes #5

Co-authored-by: Nemo <328747105+Nemo-010@users.noreply.github.com>
v5
2026-09-19 07:07:51 -04:00
Samueru-sama 7ff2bdc2fe retry downloads and print sha256sums v4 2026-09-13 07:14:30 -04:00
Samueru-sama 7278cbb7c3 update README v3 2026-09-11 03:27:04 -04:00
Talaria (bot) 8c222ccc48 add support for riscv64, loongarch64, ppc64le and ppc64 via companion action (#4) 2026-09-11 03:18:34 -04:00
Talaria (bot) fb7ea86ffa move the setup into a POSIX sh script (#3) 2026-09-10 17:44:11 -04:00
Samuel 0964f2258d add more common packages
fixes #2
v2
2026-04-07 16:14:09 -04:00
Adithya Ps 57267f67bf Merge pull request #1 from pkgforge-dev/Samueru-sama-patch-1
simplify action
2025-11-14 00:01:18 +05:30
Samuel e47f443a7f simplify action 2025-11-13 14:05:56 -04:00
Adithya Ps 8872fabe63 Initial commit v1 2025-11-13 22:35:34 +05:30