From 16ca0a48288005ea643456f5f6563355235a5839 Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Wed, 23 Sep 2026 11:54:30 +0200 Subject: deploy: run the cross build as the invoking user The locale directory the cross build now copies came out root-owned, so deploy.sh could not remove .prebuilt and stopped before switching the containers. Running the container with the caller's uid keeps the output deletable. Co-Authored-By: Claude Opus 5.5 --- deploy/cross-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deploy/cross-build.sh') diff --git a/deploy/cross-build.sh b/deploy/cross-build.sh index 75c181c..f0b5a0a 100644 --- a/deploy/cross-build.sh +++ b/deploy/cross-build.sh @@ -23,4 +23,4 @@ cp /tmp/build/bokfd /tmp/build/bokfctl /tmp/build/bokftui \ # the Alpine runtime does not have: without C.utf8 setlocale() fails and # the TUI shows no åäö. Ship Debian's C.utf8 with the binaries. mkdir -p /out/locale -cp -a /usr/lib/locale/C.utf8 /out/locale/ +cp -R /usr/lib/locale/C.utf8 /out/locale/ -- cgit v1.3