Fix BACKPORT_DIR configuration - Apply the environment variable fix that was missing - Now containers can use user-writable directories
Some checks failed
Build libostree Backport / Build libostree Backport (push) Successful in 10m0s
Build ostree Backports / Build ostree Backport for noble (push) Failing after 1m47s

This commit is contained in:
robojerk 2025-08-05 11:18:00 -07:00
parent cd5a97f64a
commit 64b8927f4b

View file

@ -35,7 +35,7 @@ fi
IFS='|' read -r DISTRO_TYPE SOURCE_RELEASE TARGET_RELEASE BACKPORT_SUFFIX POOL_URL <<< "${DISTRO_CONFIGS[$TARGET_DISTRO]}"
# Set working directory based on distribution
BACKPORT_DIR="/opt/Projects/ostree-backport-${TARGET_DISTRO}"
BACKPORT_DIR="${BACKPORT_DIR:-/opt/Projects/ostree-backport-${TARGET_DISTRO}}"
# --- Functions ---
log_info() {