Private
Public Access
1
0

fix: remove mkdir -p from Alpine cleanup that broke abuild
Some checks failed
CI/CD Pipeline / Security Audit (push) Has been cancelled
CI/CD Pipeline / Enrollment Tests (push) Has been cancelled
CI/CD Pipeline / Verify Enrollment CLI Flag (push) Has been cancelled
CI/CD Pipeline / Build Debian Package (push) Has been cancelled
CI/CD Pipeline / Build Debian Package (Ubuntu 22.04) (push) Has been cancelled
CI/CD Pipeline / Build RPM Package (push) Has been cancelled
CI/CD Pipeline / Build Alpine Package (push) Has been cancelled
CI/CD Pipeline / Build Arch Package (push) Has been cancelled
CI/CD Pipeline / Code Format (push) Has been cancelled
CI/CD Pipeline / Clippy Lints (push) Has been cancelled
CI/CD Pipeline / All Unit Tests (push) Has been cancelled

- Remove mkdir -p /home/builduser/packages/home/x86_64/ that was creating
  root-owned directories that abuild (running as builduser) couldnt write to
- Keep targeted rm -f of stale .apk files only
- abuild creates its own output directories with correct ownership
This commit is contained in:
2026-05-27 20:42:48 -05:00
parent 724a42945c
commit 4bea74cb75
2 changed files with 0 additions and 3 deletions

View File

@ -325,7 +325,6 @@ jobs:
run: |
rm -f releases/linux-patch-api-*.apk 2>/dev/null || true
rm -f /home/builduser/packages/home/x86_64/linux-patch-api-*.apk 2>/dev/null || true
mkdir -p /home/builduser/packages/home/x86_64/
- name: Build Alpine package
run: |
chmod +x build-alpine.sh

View File

@ -11,8 +11,6 @@ echo ""
# Clean stale packages from previous builds
rm -f releases/linux-patch-api-*.apk 2>/dev/null || true
rm -f /home/builduser/packages/home/x86_64/linux-patch-api-*.apk 2>/dev/null || true
# Ensure abuild output directory exists
mkdir -p /home/builduser/packages/home/x86_64/
# Source cargo environment (for rustup-installed toolchain in CI)
if [ -f "$HOME/.cargo/env" ]; then