From a90ba862dff75c6ded3581b402cba766886b69c8 Mon Sep 17 00:00:00 2001 From: The412Banner Date: Wed, 23 Sep 2026 00:48:04 -0400 Subject: [PATCH] gamescope build: pacman without its download sandbox inside the container --- tools/gamescope/build-in-arch.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/gamescope/build-in-arch.sh b/tools/gamescope/build-in-arch.sh index 580f393f9..eb17a45d9 100755 --- a/tools/gamescope/build-in-arch.sh +++ b/tools/gamescope/build-in-arch.sh @@ -7,6 +7,9 @@ set -euxo pipefail VERSION=${GAMESCOPE_VERSION:-3.16.29} WORK=/work cd "$WORK" +# pacman's download sandbox (Landlock + the alpm user) cannot be set up inside the runner's +# container; the packages still come signed from Arch Linux ARM's mirrors. +grep -q '^DisableSandbox' /etc/pacman.conf || sed -i 's/^\[options\]/[options]\nDisableSandbox/' /etc/pacman.conf pacman -Syu --noconfirm --needed git sudo zstd binutils # makepkg refuses root; a builder user with passwordless sudo installs the dependencies. id builder >/dev/null 2>&1 || useradd -m builder