From 689783e6e08a114502531e15e863df86a846c65c Mon Sep 17 00:00:00 2001 From: robojerk Date: Sun, 7 Sep 2025 15:46:23 -0700 Subject: [PATCH] Fix build script location: create in correct workspace directory - Create build_libfuse.sh in /workspace/particle-os/libfuse/ instead of current directory - Make script executable with chmod +x - Add verification step to ensure script exists before Docker execution - Fix 'No such file or directory' error from run #5 The script now exists in the correct location where Docker can find it. --- .forgejo/workflows/ci.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index e79842a..baec0f5 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -41,8 +41,11 @@ jobs: - name: Build libfuse in Debian container run: | + # Create workspace directory if it doesn't exist + mkdir -p /workspace/particle-os/libfuse + # Create a script to run inside the container - cat > build_libfuse.sh << 'EOF' + cat > /workspace/particle-os/libfuse/build_libfuse.sh << 'EOF' set -e # Configure apt to use cacher if available @@ -141,6 +144,12 @@ jobs: pkg-config --exists fuse3 && echo "fuse3.pc found" || echo "fuse3.pc not found" EOF + # Make the script executable + chmod +x /workspace/particle-os/libfuse/build_libfuse.sh + + # Verify the script exists and is executable + ls -la /workspace/particle-os/libfuse/build_libfuse.sh + # Run the build script in Debian container docker run --rm \ --add-host=host.docker.internal:host-gateway \