stx tool: Add the env variable CENGN_STRATEGY

Add the environment variable CENGN_STRATEGY for supporting CENGN.
Set the default value to 'cengn_first', and we also can set the value
to the other three value 'cengn', 'upstream' or 'upstream_first'.

Story: 2008862
Task: 44361

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Change-Id: I0326da798e808dce1b6fefd49e54f54ca41e8bcd
This commit is contained in:
Zhixiong Chi
2022-01-26 14:34:59 +08:00
parent aa6391190f
commit c8d48e39d1
3 changed files with 6 additions and 0 deletions

View File

@@ -38,6 +38,9 @@ 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@