Update build process to use local files too

This commit is contained in:
Ryan Hughes
2025-10-08 21:34:21 -04:00
parent 2cecb3982f
commit f175eb3574
3 changed files with 187 additions and 140 deletions
+1 -2
View File
@@ -7,10 +7,8 @@ set -e
BUILD_ROOT=$(realpath "${BASH_SOURCE[0]%/*}/..")
source "$BUILD_ROOT/lib/message-helpers.sh"
# Set default architecture
ARCH=${ARCH:-x86_64}
# Prepare build directories
ARCH_DIR="$BUILD_ROOT/output/$ARCH"
SRC_DIR="$BUILD_ROOT/src"
BUILD_DIR="$BUILD_ROOT/build"
@@ -124,6 +122,7 @@ DOCKER_ARGS=(
-v "$BUILD_ROOT/output:/output"
-v "$SRC_DIR:/src"
-v "$BUILD_DIR:/build:ro"
-v "$BUILD_ROOT/pkgbuilds:/pkgbuilds:ro"
)
# Use local pacman cache if you already have one on host to speed up repeat runs