
A new environment variable DEBIAN_SNAPSHOT points to Debian snapshot source. Both DEBIAN_SNAPSHOT and CENGN mirror point to Debian Bullyseye 11.3. Set the 2 sources in builder container to avoid downloader -b fails due to Debian upstream uprev. Not comment the Debian upstream sources to allow upgrading a package individually from Debian upstream, for example, fix CVEs. Test Plan: Pass: download -b succeeds with commenting the Debian upstream sources Story: 2008846 Task: 44979 Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Change-Id: If4dc935cc0fd10b6f0848b8b1bbff50e0db02582
61 lines
1.2 KiB
Plaintext
61 lines
1.2 KiB
Plaintext
# Release Variable
|
|
export MY_RELEASE=@MY_RELEASE@
|
|
|
|
# avoid calling your project 'build' it will break some SDEBs
|
|
export PROJECT=@PROJECT@
|
|
|
|
# uid
|
|
export MYUID=@MYUID@
|
|
|
|
# These are used in the Dockerfile, not sure where else
|
|
export MYUNAME=@MYUNAME@
|
|
|
|
export DIST=@DIST@
|
|
|
|
export STX_DIST=@STX_DIST@
|
|
|
|
export REPOMGR_TYPE=@REPOMGR_TYPE@
|
|
|
|
export GITUSER="@GITUSER@"
|
|
|
|
export GITEMAIL=@GITEMAIL@
|
|
|
|
export DEBFULLNAME="@DEBFULLNAME@"
|
|
|
|
export DEBEMAIL=@DEBEMAIL@
|
|
|
|
export PROXY=@PROXY@
|
|
|
|
export PROXYSERVER=@PROXYSERVER@
|
|
|
|
export PROXYPORT=@PROXYPORT@
|
|
|
|
export BUILD_BRANCH=@BUILDBRANCH@
|
|
|
|
export MANIFEST=@MANIFEST@
|
|
|
|
export HOSTUSERNAME=@HOSTUSERNAME@
|
|
|
|
export CENGNURL=@CENGNURL@
|
|
|
|
# CENGN_STRATEGY value: [ cengn|cengn_first|upstream|upstream_first ]
|
|
export CENGN_STRATEGY=@CENGNSTRATEGY@
|
|
|
|
if [[ x"@fetch@" == x"true" ]];then
|
|
export SOURCESLIST=/usr/local/bin/stx/@SOURCESLIST@
|
|
export DEBLIST=/usr/local/bin/stx/@DEBLIST@
|
|
export DSCLIST=/usr/local/bin/stx/@DSCLIST@
|
|
fi
|
|
|
|
export REPOMGR_URL=http://@PROJECT@-stx-repomgr:8080
|
|
|
|
export REPOMGR_DEPLOY_URL=http://@PROJECT@-stx-repomgr:80/
|
|
|
|
export BUILDER_URL=http://@PROJECT@-stx-pkgbuilder:8080/pkgbuilder/
|
|
|
|
export OSTREE_OSNAME=@OSTREE_OSNAME@
|
|
|
|
export DEBIAN_SNAPSHOT=@DEBIAN_SNAPSHOT@
|
|
|
|
export MAX_CPUS=@MAX_CPUS@
|