From e1ca869d8e4f22d3074f2e3be0e64d6d576e24e5 Mon Sep 17 00:00:00 2001 From: Muaz Kadan <32595066+muazkadan@users.noreply.github.com> Date: Thu, 15 Oct 2026 16:20:03 +0300 Subject: [PATCH] Fix local builds on Linux failing after the first Comet build (#866) --- tools/comet/build-local.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/comet/build-local.sh b/tools/comet/build-local.sh index fe5d40131..d809cae50 100644 --- a/tools/comet/build-local.sh +++ b/tools/comet/build-local.sh @@ -6,6 +6,7 @@ docker run --rm --platform linux/amd64 -v "$repo:/src" \ -v "${HOME}/.cache/droiddeck-comet-rust:/rust" -w /src \ -e CARGO_HOME=/rust/cargo -e RUSTUP_HOME=/rust/rustup "$image" bash -lc ' set -euo pipefail + trap "chown -R '"$(id -u):$(id -g)"' app/build/comet app/src/main/assets/linuxfs/usr/local/lib/droiddeck-comet /rust 2>/dev/null || true" EXIT apt-get update -qq apt-get install -y -qq curl git unzip ca-certificates pkg-config >/dev/null export PATH=/rust/cargo/bin:$PATH