diff --git a/scripts/configure-build.sh b/scripts/configure-build.sh index c6dc04d..abfc0e2 100755 --- a/scripts/configure-build.sh +++ b/scripts/configure-build.sh @@ -103,8 +103,17 @@ fi if [[ -n "$DEBIAN_SECURITY_SNAPSHOT_BASE" ]] ; then stx config --add project.debian_security_snapshot_base "$DEBIAN_SECURITY_SNAPSHOT_BASE" fi -if [[ -n "$STX_MIRROR_URL" ]] ; then - stx config --add repomgr.stx_mirror_url "$STX_MIRROR_URL" +if [[ -n "$OS_MIRROR_URL" ]] ; then + stx config --add repomgr.os_mirror_url "$OS_MIRROR_URL" +fi +if [[ -n "$OS_MIRROR_DIST_PATH" ]] ; then + stx config --add repomgr.os_mirror_dist_path "$OS_MIRROR_DIST_PATH" +fi +if [[ -n "$LAT_MIRROR_URL" ]] ; then + stx config --add repomgr.lat_mirror_url "$LAT_MIRROR_URL" +fi +if [[ -n "$LAT_MIRROR_LAT_PATH" ]] ; then + stx config --add repomgr.lat_mirror_lat_path "$LAT_MIRROR_LAT_PATH" fi notice "$PWD/stx.conf" diff --git a/scripts/templates/build.conf.example.in b/scripts/templates/build.conf.example.in index e19ea25..a4c7236 100644 --- a/scripts/templates/build.conf.example.in +++ b/scripts/templates/build.conf.example.in @@ -51,7 +51,10 @@ BUILD_PACKAGES_ITERATIONS=3 # Leave them empty to use the defaults hard-coded in stx/tools DEBIAN_SNAPSHOT_BASE="http://https://snapshot.debian.org/archive/debian" DEBIAN_SECURITY_SNAPSHOT_BASE="https://snapshot.debian.org/archive/debian-security" -STX_MIRROR_URL="https://mirror.starlingx.windriver.com/mirror" +OS_MIRROR_URL="https://mirror.starlingx.windriver.com/mirror" +OS_MIRROR_DIST_PATH="debian/debian/" +LAT_MIRROR_URL="https://mirror.starlingx.windriver.com/mirror" +LAT_MIRROR_LAT_PATH="lat-sdk/" # Signing server for formal ISO and secureboot signing (see below) SIGNING_SERVER="some.host.org"