<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">The short answer .... The $MY_REPO
      variable must now be defined before you run download_mirror.sh.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">I'll check the docs ...</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Scott<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 2020-03-03 1:55 a.m., Shuai wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:001001d5f128$b35f97f0$1a1ec7d0$@neusoft.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:等线;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"\@等线";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:宋体;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML 预设格式 字符";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:宋体;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:等线;
        color:windowtext;}
span.HTML
        {mso-style-name:"HTML 预设格式 字符";
        mso-style-priority:99;
        mso-style-link:"HTML 预设格式";
        font-family:宋体;}
span.n
        {mso-style-name:n;}
span.o
        {mso-style-name:o;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:等线;}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:"Calibri",sans-serif"
            lang="EN-US">Hi </span><span
            style="font-size:10.5pt;font-family:等线" lang="EN-US">Communityer</span><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
            lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:"Calibri",sans-serif"
            lang="EN-US">Regarding the StarlingX Build Guide</span><span
            style="font-size:11.0pt">:</span><span lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:"Calibri",sans-serif"
            lang="EN-US">When we built the latest version of StarlingX,
            we found some build guide issues and raised them here.</span><span
            style="font-size:11.0pt">:</span><span
            style="font-size:11.0pt;font-family:"Calibri",sans-serif"
            lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:"Calibri",sans-serif"
            lang="EN-US">Guide Path</span><span style="font-size:11.0pt">:</span><span
            lang="EN-US"><a
              href="https://docs.starlingx.io/developer_resources/build_guide.html"
              moz-do-not-send="true">https://docs.starlingx.io/developer_resources/build_guide.html</a></span><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
            lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">★</span><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
            lang="EN-US">Issues<b> (1).</b></span><b><span lang="EN-US">
              Paragraph: <span style="color:red">Build the CentOS
                mirror repository</span></span></b><span lang="EN-US"><o:p></o:p></span></p>
        <pre style="margin-bottom:7.5pt;background:#333333;word-break:break-all"><span style="font-size:10.0pt;font-family:Consolas;color:white" lang="EN-US">cd $HOME/tools/centos-mirror-tools/<o:p></o:p></span></pre>
        <pre style="margin-bottom:7.5pt;background:#333333;word-break:break-all"><span style="font-size:10.0pt;font-family:Consolas;color:white" lang="EN-US">docker run -it --volume $(pwd):/localdisk local/$USER-stx-builder:7.4 bash<o:p></o:p></span></pre>
        <pre style="margin-bottom:7.5pt;background:#333333;word-break:break-all"><span class="n"><span style="font-size:10.0pt;font-family:Consolas;color:#D0D0D0" lang="EN-US">cd</span></span><span style="font-size:10.0pt;font-family:Consolas;color:white" lang="EN-US"> </span><span class="n"><span style="font-size:10.0pt;font-family:Consolas;color:#D0D0D0" lang="EN-US">localdisk</span></span><span style="font-size:10.0pt;font-family:Consolas;color:white" lang="EN-US"> </span><span class="o"><span style="font-size:10.0pt;font-family:Consolas;color:#D0D0D0" lang="EN-US">&&</span></span><span style="font-size:10.0pt;font-family:Consolas;color:white" lang="EN-US"> </span><span class="n"><span style="font-size:10.0pt;font-family:Consolas;color:#D0D0D0" lang="EN-US">bash</span></span><span style="font-size:10.0pt;font-family:Consolas;color:white" lang="EN-US"> </span><span class="n"><span style="font-size:10.0pt;font-family:Consolas;color:#D0D0D0" lang="EN-US">download_mirror</span></span><span class="o"><span style="font-size:10.0pt;font-family:Consolas;color:#D0D0D0" lang="EN-US">.</span></span><span class="n"><span style="font-size:10.0pt;font-family:Consolas;color:#D0D0D0" lang="EN-US">sh</span></span><span style="font-size:10.0pt;font-family:Consolas;color:white" lang="EN-US"><o:p></o:p></span></pre>
        <p class="MsoNormal"><b><span
              style="font-size:10.5pt;font-family:等线" lang="EN-US">The
              above steps are no longer applicable to the current
              StarlingX Master environment construction.<o:p></o:p></span></b></p>
        <p class="MsoNormal"><b><span
              style="font-size:10.5pt;font-family:等线" lang="EN-US">At
              the same time, this step will directly lead to the
              following download error.<o:p></o:p></span></b></p>
        <pre style="background:#333333;word-break:break-all"><span class="n"><span style="font-size:10.0pt;font-family:Consolas;color:#D0D0D0" lang="EN-US"> [root@5fc5c5f5f610 /]# cd localdisk && bash download_mirror.sh<o:p></o:p></span></span></pre>
        <pre style="background:#333333;word-break:break-all"><span class="n"><span style="color:#D0D0D0" lang="EN-US">download_mirror.sh: line 8: /localdisk/../toCOPY/lst_utils.sh: No such file or directory<o:p></o:p></span></span></pre>
        <pre style="background:#333333;word-break:break-all"><span class="n"><span style="color:#D0D0D0" lang="EN-US">download_mirror.sh: line 232: merge_lst: command not found<o:p></o:p></span></span></pre>
        <pre style="background:#333333;word-break:break-all"><span class="n"><span style="color:#D0D0D0" lang="EN-US">download_mirror.sh: line 233: merge_lst: command not found<o:p></o:p></span></span></pre>
        <pre style="background:#333333;word-break:break-all"><span class="n"><span style="color:#D0D0D0" lang="EN-US">download_mirror.sh: line 234: merge_lst: command not found<o:p></o:p></span></span></pre>
        <pre style="background:#333333;word-break:break-all"><span class="n"><span style="color:#D0D0D0" lang="EN-US">download_mirror.sh: line 235: merge_lst: command not found<o:p></o:p></span></span></pre>
        <pre style="background:#333333;word-break:break-all"><span class="n"><span style="color:#D0D0D0" lang="EN-US">download_mirror.sh: line 236: merge_lst: command not found<o:p></o:p></span></span></pre>
        <pre style="background:#333333;word-break:break-all"><span class="n"><span style="color:#D0D0D0" lang="EN-US">--------------------------------------------------------------<o:p></o:p></span></span></pre>
        <pre style="background:#333333;word-break:break-all"><span class="n"><span style="color:#D0D0D0" lang="EN-US">WARNING: this script HAS TO access internet (http/https/ftp),<o:p></o:p></span></span></pre>
        <pre style="background:#333333;word-break:break-all"><span class="n"><span style="color:#D0D0D0" lang="EN-US">so please make sure your network working properly!!<o:p></o:p></span></span></pre>
        <pre style="background:#333333;word-break:break-all"><span class="n"><span style="color:#D0D0D0" lang="EN-US">step #0: Configuring yum repos ...<o:p></o:p></span></span></pre>
        <pre style="background:#333333;word-break:break-all"><span class="n"><span style="color:#D0D0D0" lang="EN-US">download_mirror.sh: line 345: [: !=: unary operator expected<o:p></o:p></span></span></pre>
        <p class="MsoNormal"><span
            style="font-size:10.5pt;font-family:等线" lang="EN-US">As the
            result, the compilation and construction of StarlingX could
            not be implemented.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.5pt;font-family:等线" lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><b><span
              style="font-size:10.5pt;font-family:等线" lang="EN-US">Temporary
              countermeasure:<o:p></o:p></span></b></p>
        <p class="MsoNormal"><b><span
              style="font-size:10.5pt;font-family:等线" lang="EN-US">In
              order for download_mirror.sh to run normally, we have
              adopted the following methods to deal with it, Methods as
              below:</span></b><span
            style="font-size:10.5pt;font-family:等线" lang="EN-US"><o:p></o:p></span></p>
        <pre style="background:#333333;word-break:break-all"><span class="n"><span style="color:#D0D0D0" lang="EN-US">cd $HOME/tools<o:p></o:p></span></span></pre>
        <pre style="background:#333333;word-break:break-all"><span class="n"><span style="color:#D0D0D0" lang="EN-US">bash tb</span><span style="color:white" lang="EN-US">.</span><span style="color:#D0D0D0" lang="EN-US">sh run<o:p></o:p></span></span></pre>
        <pre style="background:#333333;word-break:break-all"><span class="n"><span style="color:#D0D0D0" lang="EN-US">bash tb</span><span style="color:white" lang="EN-US">.</span><span style="color:#D0D0D0" lang="EN-US">sh exec<o:p></o:p></span></span></pre>
        <pre style="margin-bottom:7.5pt;background:#333333;word-break:break-all"><span style="font-size:10.0pt;font-family:Consolas;color:white" lang="EN-US">--------------------------<o:p></o:p></span></pre>
        <pre style="margin-bottom:7.5pt;background:#333333;word-break:break-all"><span style="font-size:10.0pt;font-family:Consolas;color:white" lang="EN-US">[zs@af1b85270819 /]$ cd $MY_REPO_ROOT_DIR<o:p></o:p></span></pre>
        <pre style="margin-bottom:7.5pt;background:#333333;word-break:break-all"><span style="font-size:10.0pt;font-family:Consolas;color:white" lang="EN-US">[zs@af1b85270819 starlingx]$ cd stx-tools/centos-mirror-tools/<o:p></o:p></span></pre>
        <pre style="margin-bottom:7.5pt;background:#333333;word-break:break-all"><span style="font-size:10.0pt;font-family:Consolas;color:white" lang="EN-US">[zs@af1b85270819 centos-mirror-tools]$sudo MY_REPO=/localdisk/designer/zs/starlingx/cgcs-root ./download_mirror.sh<o:p></o:p></span></pre>
        <p class="MsoNormal"><span
            style="font-size:10.5pt;font-family:等线" lang="EN-US">Although
            this solution can currently solve the download_mirror.sh
            Error problem temporarily. <o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.5pt;font-family:等线" lang="EN-US">However,We
            hope the community can provide better solutions to share,
            Thank you!<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.5pt;font-family:等线" lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.5pt;font-family:等线" lang="EN-US">--------------<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.5pt;font-family:等线" lang="EN-US">From:
            Neusoft - Shuai<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.5pt;font-family:等线" lang="EN-US"><o:p> </o:p></span></p>
      </div>
      <br>
      <p>---------------------------------------------------------------------------------------------------<br>
        Confidentiality Notice: The information contained in this e-mail
        and any accompanying attachment(s) <br>
        is intended only for the use of the intended recipient and may
        be confidential and/or privileged of <br>
        Neusoft Corporation, its subsidiaries and/or its affiliates. If
        any reader of this communication is <br>
        not the intended recipient, unauthorized use, forwarding,
        printing,  storing, disclosure or copying <br>
        is strictly prohibited, and may be unlawful.If you have received
        this communication in error,please <br>
        immediately notify the sender by return e-mail, and delete the
        original message and all copies from <br>
        your system. Thank you. <br>
---------------------------------------------------------------------------------------------------</p>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Starlingx-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Starlingx-discuss@lists.starlingx.io">Starlingx-discuss@lists.starlingx.io</a>
<a class="moz-txt-link-freetext" href="http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss">http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>