Private
Public Access
1
0

fix: resolve remaining build failures

debian/rules: Source cargo env before calling cargo
  - Add `. "$HOME/.cargo/env"` to override_dh_auto_build

build-alpine.sh: Use /home/builduser for all paths
  - PKGDIR=/home/builduser/apk-package (accessible by builduser)
  - WORKSPACE_DIR=/home/builduser (for APKBUILD package function)
  - Removed duplicate else line

build-arch.sh: Copy repo to accessible directory
  - Copy repo contents to /home/builduser/repo before makepkg
  - Run makepkg in /home/builduser/repo (not act cache path)
This commit is contained in:
2026-04-27 00:57:03 +00:00
parent 3723d97427
commit 9cb48a01eb
3 changed files with 22 additions and 8 deletions

1
debian/rules vendored Executable file → Normal file
View File

@ -8,6 +8,7 @@ export DEB_CARGO_BUILD_FLAGS=--release
dh $@
override_dh_auto_build:
. "$HOME/.cargo/env"
cargo build --release --target x86_64-unknown-linux-gnu
override_dh_auto_install: