Update build process to use local files too
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user