stx tool: Drop the previous way to sync cengn mirror in prepare task

Now we set the default value for the CENGNURL as the commit
https://review.opendev.org/c/starlingx/tools/+/821535 mentioned.
Since the mirrors of the debian packages are not initialized yet in
cengn server, we will encounter 400 Bad Request result in prepare task.

Just drop the mirror work for prepare task now.
We will implement the detailed program to download the debian binary
and source packages to replace it later.
Or once the specific directory structure for debian packages in cengn
server was created, we can recover it with the more accurate path if
necessary.

Story: 2008862
Task: 44219

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Change-Id: I0c02e52aa4febe5de0a267ec88c9243e191208a8
This commit is contained in:
Zhixiong Chi 2021-12-21 21:05:17 -05:00
parent 6563846502
commit 60548a0b71
1 changed files with 0 additions and 4 deletions

View File

@ -34,10 +34,6 @@ TMPLIST=`mktemp /tmp/XXXXXX.lst`
debdownloader $TMPLIST
rm $TMPLIST
if [[ x"$CENGNURL" != x"" ]]; then
repo_manage.py mirror --url $CENGNURL
fi
if [[ x"$SOURCESLIST" != x"" ]]; then
if [[ x"$DEBLIST" == x"" ]]; then
if [[ x"$DSCLIST" == x"" ]]; then