stx tool: Rename stx.conf to stx.conf.sample

Rename stx.conf to stx.conf.sample, now we don't modify directly the
original config sample file any more.
When we start the project with import-stx script, we will copy the
new stx.conf file from the sample.

Story: 2008862
Task: 43165

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Change-Id: Id8eaea93cc2e99461130380f714ad4d2b8adb04b
This commit is contained in:
Zhixiong Chi 2021-11-03 17:23:09 +08:00
parent 4d6d519de8
commit 276ec76bba
2 changed files with 4 additions and 0 deletions

View File

@ -24,3 +24,7 @@ export PATH=$PRJDIR/stx/bin:$PATH
export MINIKUBENAME=${MINIKUBENAME:-minikube-$USER-upstream}
export KUBECONFIG=$MINIKUBE_HOME/.kube/config
export STX_BUILD_HOME="${STX_BUILD_HOME:-/localdisk/$USER}"
if [ ! -f "stx.conf" ]; then
cp stx.conf.sample stx.conf
fi