Configure OS/LAT URL and PATH

Change-Id: Id651ccffa1cc36a6ca2e66150ed9229b37da4260
Signed-off-by: Scott Little <scott.little@windriver.com>
This commit is contained in:
Scott Little
2025-07-21 13:32:37 -04:00
parent 3f78257465
commit 47f01f5952
2 changed files with 15 additions and 3 deletions

View File

@@ -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"

View File

@@ -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"