<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        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:DengXian;
        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:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Microsoft YaHei";
        panose-1:2 11 5 3 2 2 4 2 2 4;}
@font-face
        {font-family:"Monotype Corsiva";
        panose-1:3 1 1 1 1 2 1 1 1 1;}
@font-face
        {font-family:"\@Microsoft YaHei";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-style-priority:99;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.15
        {mso-style-name:15;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Looking at “</span><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black">/root/cgcs-root/build-tools</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">”,
 are you using “root”?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">We cannot use root!!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">ec@ec-dpl-nuc04:~/stx-tools$ cat localrc<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"># tbuilder localrc<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">MYUNAME=<span style="background:yellow;mso-highlight:yellow">your_normal_nonroot_user_name</span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">PROJECT=starlingx<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">HOST_PREFIX=$HOME/starlingx/workspace<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">HOST_MIRROR_DIR=$HOME/starlingx/mirror<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="color:black">From: </span></b><span style="color:black">"Sun, Austin" <austin.sun@intel.com><br>
<b>Date: </b>Wednesday, 26 December 2018 at 9:05 AM<br>
<b>To: </b>chenzz <chenzz@certusnet.com.cn>, "Hu, Yong" <yong.hu@intel.com>, starlingx-discuss <starlingx-discuss@lists.starlingx.io><br>
<b>Subject: </b>RE: RE: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">It seems your env is not configured successfully.
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Could you run ‘bash tb.sh env’ to check your config ?
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> chenzz [mailto:chenzz@certusnet.com.cn]
<br>
<b>Sent:</b> Tuesday, December 25, 2018 2:56 PM<br>
<b>To:</b> Sun, Austin <austin.sun@intel.com>; Hu, Yong <yong.hu@intel.com>; starlingx-discuss <starlingx-discuss@lists.starlingx.io><br>
<b>Subject:</b> Re: RE: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help.</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black">Hi<span lang="ZH-CN">:</span></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black">    Yes, it<span lang="ZH-CN">’</span>s running in the docker with the command <span lang="ZH-CN">“</span>bash tb.sh exec<span lang="ZH-CN">”</span> to enter the docker command </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black"> </span><o:p></o:p></p>
</div>
<div>
<div class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black">
<hr size="1" width="210" style="width:157.5pt" noshade="" style="color:#A0A0A0" align="left">
</span></div>
</div>
<div>
<div style="margin-left:7.5pt;margin-top:7.5pt;margin-right:7.5pt">
<div>
<p class="MsoNormal"><b><span style="font-size:14.5pt;font-family:"Monotype Corsiva",serif;color:red;background:white">Certus</span></b><b><span style="font-size:14.5pt;font-family:"Monotype Corsiva",serif;color:#333333;background:white">Net</span></b><o:p></o:p></p>
<p class="MsoNormal" style="background:white"><b><span lang="ZH-CN" style="font-size:10.0pt;font-family:SimSun;color:black">赛特斯信息科技股份有限公司</span></b><o:p></o:p></p>
<p class="MsoNormal" style="background:white"><span lang="ZH-CN" style="font-size:10.0pt;font-family:SimSun;color:black">陈峥峥</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"> |
</span><span lang="ZH-CN" style="font-size:10.0pt;font-family:SimSun;color:black">现场工程师</span><o:p></o:p></p>
<p class="MsoNormal" style="background:white"><a name="OLE_LINK2"></a><a name="OLE_LINK1"></a><span style="mso-bookmark:OLE_LINK2"><span lang="ZH-CN" style="font-size:10.0pt;font-family:SimSun;color:black">南京市玄武区玄武大道</span></span><span style="mso-bookmark:OLE_LINK2"></span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">699-22</span><span lang="ZH-CN" style="font-size:10.0pt;font-family:SimSun;color:black">号</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">18</span><span lang="ZH-CN" style="font-size:10.0pt;font-family:SimSun;color:black">幢</span><o:p></o:p></p>
<p class="MsoNormal" style="background:white"><span lang="ZH-CN" style="font-size:10.0pt;font-family:SimSun;color:black">手机:</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">152 9559 2415</span><o:p></o:p></p>
<p class="MsoNormal" style="background:white"><span lang="ZH-CN" style="font-size:10.0pt;font-family:SimSun;color:black">公司网址:</span><a href="http://www.certusnet.com.cn/"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">www.certusnet.com.cn</span></a><o:p></o:p></p>
</div>
</div>
</div>
<blockquote style="margin-left:6.0pt;margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black"> </span><o:p></o:p></p>
</div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<div>
<div>
<p class="MsoNormal" style="background:#EFEFEF"><b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black">From:</span></b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black"> </span><a href="mailto:austin.sun@intel.com"><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif">Sun,
 Austin</span></a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="background:#EFEFEF"><b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black">Date:</span></b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black"> 2018-12-25 14:51</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="background:#EFEFEF"><b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black">To:</span></b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black"> </span><a href="mailto:chenzz@certusnet.com.cn"><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif">chenzz</span></a><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black">;
</span><a href="mailto:yong.hu@intel.com"><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif">Hu, Yong</span></a><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black">;
</span><a href="mailto:starlingx-discuss@lists.starlingx.io"><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif">starlingx-discuss</span></a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="background:#EFEFEF"><b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black">Subject:</span></b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black"> RE: RE: [Starlingx-discuss] Problems in
 build StatlingX mirror. Asking for help.</span><o:p></o:p></p>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi  :</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">     Are you run this command in Docker ?   do you run command “bash tb.sh exec” to enter Docker ?
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thanks.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">BR<br>
Austin Sun</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> chenzz [</span><a href="mailto:chenzz@certusnet.com.cn"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">mailto:chenzz@certusnet.com.cn</span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">]
<br>
<b>Sent:</b> Tuesday, December 25, 2018 2:19 PM<br>
<b>To:</b> Sun, Austin <</span><a href="mailto:austin.sun@intel.com"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">austin.sun@intel.com</span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">>; Hu, Yong <</span><a href="mailto:yong.hu@intel.com"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">yong.hu@intel.com</span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">>;
 starlingx-discuss <</span><a href="mailto:starlingx-discuss@lists.starlingx.io"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">starlingx-discuss@lists.starlingx.io</span></a><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">><br>
<b>Subject:</b> Re: RE: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help.</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><span style="color:black"> </span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black">Hi<span lang="ZH-CN">:</span></span><o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black"> I found there is no <span lang="ZH-CN">“</span>build-pkgs <span lang="ZH-CN">”</span> command in the path variable; In addition<span lang="ZH-CN">,</span>in my environment<span lang="ZH-CN">,</span>the <span lang="ZH-CN">“</span>build-pkgs<span lang="ZH-CN">”</span> file is in the directory /root/cgcs-root/build-tools, not in the directory  /localdisk/designer/{you name}/starlingx/cgcs-root/build-tools/build-pkgs.<br>
<br>
After manually executing <span lang="ZH-CN">“</span>./build-pkgs<span lang="ZH-CN">”</span> , the following error is prompted:</span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black">Dependency cache is missing.  Creating it now.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black">Traceback (most recent call last):</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black">  File "/root/cgcs-root/build-tools/create_dependancy_cache.py", line 75, in <module></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black">    workspace_repo_dirs[rt][bt]="%s/%s/rpmbuild/%sS" % (os.environ['MY_WORKSPACE'], bt, rt)</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black">  File "/usr/lib64/python2.7/UserDict.py", line 23, in __getitem__</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black">    raise KeyError(key)</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black">KeyError: 'MY_WORKSPACE'</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black">Dependency cache created.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black">build-pkgs-parallel </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black">./build-pkgs: line 54: build-pkgs-parallel: command not found</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black"> </span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black"> </span><o:p></o:p></p>
</div>
<div>
<div>
<div class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black">
<hr size="1" width="210" style="width:157.5pt" noshade="" style="color:#A0A0A0" align="left">
</span></div>
</div>
</div>
<div>
<div style="margin-left:7.5pt;margin-top:7.5pt;margin-right:7.5pt">
<div>
<p class="MsoNormal"><b><span style="font-size:14.5pt;font-family:"Monotype Corsiva",serif;color:red;background:white">Certus</span></b><b><span style="font-size:14.5pt;font-family:"Monotype Corsiva",serif;color:#333333;background:white">Net</span></b><o:p></o:p></p>
<p class="MsoNormal" style="background:white"><b><span lang="ZH-CN" style="font-size:10.0pt;font-family:SimSun;color:black">赛特斯信息科技股份有限公司</span></b><o:p></o:p></p>
<p class="MsoNormal" style="background:white"><span lang="ZH-CN" style="font-size:10.0pt;font-family:SimSun;color:black">陈峥峥</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"> |
</span><span lang="ZH-CN" style="font-size:10.0pt;font-family:SimSun;color:black">现场工程师</span><o:p></o:p></p>
<p class="MsoNormal" style="background:white"><span lang="ZH-CN" style="font-size:10.0pt;font-family:SimSun;color:black">南京市玄武区玄武大道</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">699-22</span><span lang="ZH-CN" style="font-size:10.0pt;font-family:SimSun;color:black">号</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">18</span><span lang="ZH-CN" style="font-size:10.0pt;font-family:SimSun;color:black">幢</span><o:p></o:p></p>
<p class="MsoNormal" style="background:white"><span lang="ZH-CN" style="font-size:10.0pt;font-family:SimSun;color:black">手机:</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">152 9559 2415</span><o:p></o:p></p>
<p class="MsoNormal" style="background:white"><span lang="ZH-CN" style="font-size:10.0pt;font-family:SimSun;color:black">公司网址:</span><span style="color:black"><a href="http://www.certusnet.com.cn/"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">www.certusnet.com.cn</span></a></span><o:p></o:p></p>
</div>
</div>
</div>
<blockquote style="margin-left:6.0pt;margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black"> </span><o:p></o:p></p>
</div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<div>
<div>
<p class="MsoNormal" style="background:#EFEFEF"><b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black">From:</span></b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black"> </span><span style="color:black"><a href="mailto:austin.sun@intel.com"><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif">Sun,
 Austin</span></a></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="background:#EFEFEF"><b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black">Date:</span></b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black"> 2018-12-20 14:25</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="background:#EFEFEF"><b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black">To:</span></b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black"> </span><span style="color:black"><a href="mailto:chenzz@certusnet.com.cn"><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif">chenzz</span></a></span><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black">;
</span><span style="color:black"><a href="mailto:yong.hu@intel.com"><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif">Hu, Yong</span></a></span><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black">;
</span><span style="color:black"><a href="mailto:starlingx-discuss@lists.starlingx.io"><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif">starlingx-discuss</span></a></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="background:#EFEFEF"><b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black">Subject:</span></b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black"> RE: [Starlingx-discuss] Problems in build
 StatlingX mirror. Asking for help.</span><o:p></o:p></p>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi :</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">     Could you run “which build-pkgs” in build container and check if the path ?
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">     And check if /localdisk/designer/{you name}/starlingx/cgcs-root/build-tools/build-pkgs exists ?
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thanks.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">BR<br>
Austin Sun. </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> chenzz [</span><span style="color:black"><a href="mailto:chenzz@certusnet.com.cn"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">mailto:chenzz@certusnet.com.cn</span></a></span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">]
<br>
<b>Sent:</b> Thursday, December 20, 2018 1:54 PM<br>
<b>To:</b> Hu, Yong <</span><span style="color:black"><a href="mailto:yong.hu@intel.com"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">yong.hu@intel.com</span></a></span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">>;
 starlingx-discuss <</span><span style="color:black"><a href="mailto:starlingx-discuss@lists.starlingx.io"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">starlingx-discuss@lists.starlingx.io</span></a></span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">><br>
<b>Subject:</b> Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help.</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><span style="color:black"> </span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black"> Hi Yong,<br>
<br>
Thanks for your reply, one more question: in the following build packages steps, I try to execute <span lang="ZH-CN">“</span>build-pkgs<span lang="ZH-CN">”</span> command, it reports command not found, could you answer this question for me? <br>
<br>
BRs </span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black"> </span><o:p></o:p></p>
</div>
<div>
<div>
<div>
<div class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black">
<hr size="1" width="210" style="width:157.5pt" noshade="" style="color:#A0A0A0" align="left">
</span></div>
</div>
</div>
</div>
<div>
<div style="margin-left:7.5pt;margin-top:7.5pt;margin-right:7.5pt">
<div>
<p class="MsoNormal"><b><span style="font-size:14.5pt;font-family:"Monotype Corsiva",serif;color:red;background:white">Certus</span></b><b><span style="font-size:14.5pt;font-family:"Monotype Corsiva",serif;color:#333333;background:white">Net</span></b><o:p></o:p></p>
<p class="MsoNormal" style="background:white"><b><span lang="ZH-CN" style="font-size:10.0pt;font-family:SimSun;color:black">赛特斯信息科技股份有限公司</span></b><o:p></o:p></p>
<p class="MsoNormal" style="background:white"><span lang="ZH-CN" style="font-size:10.0pt;font-family:SimSun;color:black">陈峥峥</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"> |
</span><span lang="ZH-CN" style="font-size:10.0pt;font-family:SimSun;color:black">现场工程师</span><o:p></o:p></p>
<p class="MsoNormal" style="background:white"><span lang="ZH-CN" style="font-size:10.0pt;font-family:SimSun;color:black">南京市玄武区玄武大道</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">699-22</span><span lang="ZH-CN" style="font-size:10.0pt;font-family:SimSun;color:black">号</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">18</span><span lang="ZH-CN" style="font-size:10.0pt;font-family:SimSun;color:black">幢</span><o:p></o:p></p>
<p class="MsoNormal" style="background:white"><span lang="ZH-CN" style="font-size:10.0pt;font-family:SimSun;color:black">手机:</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">152 9559 2415</span><o:p></o:p></p>
<p class="MsoNormal" style="background:white"><span lang="ZH-CN" style="font-size:10.0pt;font-family:SimSun;color:black">公司网址:</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"><a href="http://www.certusnet.com.cn/"><span style="color:windowtext">www.certusnet.com.cn</span></a></span><o:p></o:p></p>
</div>
</div>
</div>
<blockquote style="margin-left:6.0pt;margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Microsoft YaHei",serif;color:black"> </span><o:p></o:p></p>
</div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<div>
<div>
<p class="MsoNormal" style="background:#EFEFEF"><b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black">From:</span></b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black"> <a href="mailto:yong.hu@intel.com">Hu, Yong</a></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="background:#EFEFEF"><b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black">Date:</span></b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black"> 2018-12-20 10:38</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="background:#EFEFEF"><b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black">To:</span></b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black"> <a href="mailto:chenzz@certusnet.com.cn">chenzz</a>;
<a href="mailto:starlingx-discuss@lists.starlingx.io">starlingx-discuss</a></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="background:#EFEFEF"><b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black">Subject:</span></b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:black"> Re: [Starlingx-discuss] Problems in build
 StatlingX mirror. Asking for help.</span><o:p></o:p></p>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">Bill,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">I suppose you were running “make” in “stx-tools”.
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">Here are some steps FYI. Especially you need to understand what I made in comments starting with #.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">--------------------- Start Here --------------------------------------------------</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"># update localrc if needed – MUST DO</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"># use Makefile to build a docker image based on your settings</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"># NOTES: in advance into Dockerfile, need to add http/https</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"># proxies and "/etc/yum.conf", which will be used in CentOS</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">make all</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"># after quite a while (depending on network), the docker</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"># image should be made, check it by:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">docker images</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"># if the image is made successfully, to make a container:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">./tb.sh run</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"># after the container is made and running, to check by:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">docker ps</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"># if the container is running, to login in shell in the</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"># container, with user/path defined in your localrc</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">./tb.sh exec</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-family:"Calibri",sans-serif;color:black">From:
</span></b><span style="font-family:"Calibri",sans-serif;color:black">chenzz <<a href="mailto:chenzz@certusnet.com.cn"><span style="color:windowtext">chenzz@certusnet.com.cn</span></a>><br>
<b>Date: </b>Thursday, 20 December 2018 at 10:14 AM<br>
<b>To: </b>starlingx-discuss <<a href="mailto:starlingx-discuss@lists.starlingx.io"><span style="color:windowtext">starlingx-discuss@lists.starlingx.io</span></a>><br>
<b>Subject: </b>Re: [Starlingx-discuss] Problems in build StatlingX mirror. Asking for help.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a name="_MailOriginalBody"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">hi there</span></a><span style="mso-bookmark:_MailOriginalBody"><span lang="ZH-CN" style="font-size:11.0pt;font-family:"Microsoft YaHei",serif;color:black">:</span><o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">My deployment environment is Ubuntu 16.04. When making iso images, I executed the ‘make base-build’ command, it reports:make:
 *** No rule to make target `base-build'.  Stop. It seems out of order. So I executed the ‘make’ command to instead and it t seems could work, Please tell me how to execute the ‘make base-build’ command correctly.</span><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">When I go to the command of ‘build-pkgs’, it reports command not found, I speculated it might be I executed the ‘make’
 command</span></span><span style="mso-bookmark:_MailOriginalBody"><span lang="ZH-CN" style="font-size:11.0pt;font-family:"Microsoft YaHei",serif;color:black">,</span></span><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">Please
 tell me how to solve this problem again. </span><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">Thanks very much</span><o:p></o:p></span></p>
</div>
</div>
<blockquote style="margin-left:6.0pt;margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<div>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"> </span><o:p></o:p></span></p>
</div>
<div>
<div>
<div>
<div>
<div class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">
<hr size="1" width="210" style="width:157.5pt" noshade="" style="color:#A0A0A0" align="left">
</span></span></div>
</div>
</div>
</div>
</div>
<div>
<div style="margin-left:7.5pt;margin-top:7.5pt;margin-right:7.5pt">
<div>
<p class="MsoNormal" style="text-align:justify;background-image:initial;background-attachment:initial;background-size: initial;background-origin: initial;background-clip: initial;background-position:initial;background-repeat:initial">
<span style="mso-bookmark:_MailOriginalBody"><span style="font-size:10.0pt;font-family:SimSun;color:black">Bill chen</span></span><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"> </span></span><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:10.0pt;font-family:SimSun;color:black">|</span></span><span style="mso-bookmark:_MailOriginalBody"><b><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:black"> </span></b></span><span style="mso-bookmark:_MailOriginalBody"><b><span style="font-size:14.5pt;font-family:"Monotype Corsiva",serif;color:red">Certus</span></b></span><span style="mso-bookmark:_MailOriginalBody"><b><span style="font-size:14.5pt;font-family:"Monotype Corsiva",serif;color:#333333">Net</span></b><o:p></o:p></span></p>
<p class="MsoNormal" style="text-align:justify;background-image:initial;background-attachment:initial;background-size: initial;background-origin: initial;background-clip: initial;background-position:initial;background-repeat:initial">
<span style="mso-bookmark:_MailOriginalBody"><a name="OLE_LINK3"></a><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Building 18, No.</span></span><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:10.0pt;font-family:SimSun;color:black"> 699-22
 Xuanwu </span></span><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Avenue</span></span><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:10.0pt;font-family:SimSun;color:black">, </span></span><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Xuanwu
 District, Nanjing</span></span><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:10.0pt;font-family:SimSun;color:black">, </span></span><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">210042</span></span><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:10.0pt;font-family:SimSun;color:black">, </span></span><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">P.R.China</span><o:p></o:p></span></p>
<p class="MsoNormal" style="text-align:justify;background-image:initial;background-attachment:initial;background-size: initial;background-origin: initial;background-clip: initial;background-position:initial;background-repeat:initial">
<span style="mso-bookmark:_MailOriginalBody"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Tel: +86 </span></span><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:10.0pt;font-family:SimSun;color:black">25</span></span><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"> 6642
 3768 -</span></span><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:10.0pt;font-family:SimSun;color:black">XXXX</span></span><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">  Mobile:
 +86 15295592415</span><o:p></o:p></span></p>
<p class="MsoNormal" style="text-align:justify;background-image:initial;background-attachment:initial;background-size: initial;background-origin: initial;background-clip: initial;background-position:initial;background-repeat:initial">
<span style="mso-bookmark:_MailOriginalBody"><span style="font-size:10.0pt;font-family:SimSun;color:black">Web: </span></span><a href="http://www.certusnet.com.cn/"><span style="mso-bookmark:_MailOriginalBody"><span class="15"><span style="font-size:10.0pt;font-family:SimSun">www.certusnet.com.cn</span></span></span><span style="mso-bookmark:_MailOriginalBody"></span></a><span style="mso-bookmark:_MailOriginalBody"></span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</body>
</html>