<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 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:PMingLiU;
panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
{font-family:PMingLiU;
panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:等线;}
@font-face
{font-family:"MS UI Gothic";
panose-1:2 11 6 0 7 2 5 8 2 4;}
@font-face
{font-family:"\@PMingLiU";
panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
{font-family:"\@MS UI Gothic";
panose-1:2 11 6 0 7 2 5 8 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
text-align:justify;
font-size:10.5pt;
font-family:等线;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.5pt;
font-family:"Calibri","sans-serif";}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
text-align:justify;
font-size:10.5pt;
font-family:等线;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:Consolas;}
p.a, li.a, div.a
{mso-style-name:纯文本;
mso-style-link:"纯文本 Char1";
margin:0in;
margin-bottom:.0001pt;
text-align:justify;
font-size:10.5pt;
font-family:等线;}
span.Char
{mso-style-name:"纯文本 Char";
mso-style-priority:99;
mso-style-link:纯文本;
font-family:SimSun;}
span.Char1
{mso-style-name:"纯文本 Char1";
mso-style-priority:99;
mso-style-link:纯文本;
font-family:"Calibri","sans-serif";}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle23
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle24
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle25
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle27
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:768043881;
mso-list-type:hybrid;
mso-list-template-ids:801520362 -1676100840 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-text:"%1\)";
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:11.0pt;
font-family:"Times New Roman","serif";
mso-ascii-font-family:Calibri;
mso-hansi-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";
color:#1F497D;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></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="#0563C1" vlink="#954F72" style="text-justify-trim:punctuation">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I am not familiar with those dnf commands.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Normally the steps are:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><span style="mso-list:Ignore">1)<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> Update the lst file in
</span><a href="https://opendev.org/starlingx/tools">https://opendev.org/starlingx/tools</a> that corresponds to the component you want to update.<o:p></o:p></p>
<p class="MsoNormal">In your case, it sounds like changing the src rpm (and rpm) lines in:<o:p></o:p></p>
<p class="MsoNormal"><a href="https://opendev.org/starlingx/tools/src/branch/master/centos-mirror-tools/rpms_centos.lst#L61">https://opendev.org/starlingx/tools/src/branch/master/centos-mirror-tools/rpms_centos.lst#L61</a><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><span style="mso-list:Ignore">2)<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Perform a mirror update. This might be those dnf commands, but mainly you need to get that src rpm downloaded.<o:p></o:p></span></p>
<p class="MsoListParagraph"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">In my env, it downloads to a mirror called /import/mirror/starlingx<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><span style="mso-list:Ignore">3)<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Link the updated mirror files to your build env. This is what processes the lst files to know that you are using the newer bash src rpm, since the
older version may also exist in your mirror folder.<o:p></o:p></span></p>
<p class="MsoListParagraph"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I think that is these steps:
</span><a href="https://docs.starlingx.io/contributor/build_guide.html#build-the-centos-mirror-repository">https://docs.starlingx.io/contributor/build_guide.html#build-the-centos-mirror-repository</a><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I typically run these 2 commands:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> $MY_REPO_ROOT_DIR/stx-tools/toCOPY/generate-cgcs-centos-repo.sh /import/mirrors/starlingx<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> $MY_REPO_ROOT_DIR/stx-tools/toCOPY/populate_downloads.sh /import/mirrors/starlingx<o:p></o:p></span></p>
<p class="MsoListParagraph"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><span style="mso-list:Ignore">4)<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> Now you are ready to adjust the contents of the
<o:p></o:p></span></p>
<p class="MsoListParagraph"><a href="https://opendev.org/starlingx/compile/src/branch/master/languages/bash/centos/srpm_path">https://opendev.org/starlingx/compile/src/branch/master/languages/bash/centos/srpm_path</a><o:p></o:p></p>
<p class="MsoListParagraph"><o:p> </o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><span style="mso-list:Ignore">5)<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Probably the existing patches and metapatches we have for bash are invalid. You can try “build-srpms –edit bash” . If it does work, there is
likely ‘fuzz’ in the patches that will need to be cleaned up.<o:p></o:p></span></p>
<p class="MsoListParagraph"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Al<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" align="left" style="text-align:left"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
</span><span style="font-size:10.0pt;font-family:"MS UI Gothic","sans-serif"">付勇</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> [mailto:fuyong@neusoft.com]
<br>
<b>Sent:</b> Wednesday, November 27, 2019 10:41 PM<br>
<b>To:</b> starlingx-discuss@lists.starlingx.io<br>
<b>Cc:</b> zhaos@neusoft.com; lilong-neu; cindy.xie@intel.com; shuicheng.lin@intel.com; austin.sun@intel.com; '</span><span style="font-size:10.0pt;font-family:"PMingLiU","serif"">张志国</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">'<br>
<b>Subject:</b> [Starlingx-discuss] Problems downloading mirror in centos8 environment<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" align="left" style="text-align:left"><o:p> </o:p></p>
<p class="MsoPlainText"><b><span style="font-size:12.0pt;mso-fareast-language:ZH-CN">Hi StarlingX team<o:p></o:p></span></b></p>
<p class="MsoPlainText"><span style="mso-fareast-language:ZH-CN">I’m upgrading starlingx to centos8 and have a question to ask for help.<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoPlainText"><b><span style="font-size:12.0pt;mso-fareast-language:ZH-CN">problem:<o:p></o:p></span></b></p>
<p class="MsoPlainText"><span style="mso-fareast-language:ZH-CN">I cannot download the specified version of srpm through the dnf download --source command.<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoPlainText"><b><span style="font-size:12.0pt;mso-fareast-language:ZH-CN">Eg:<o:p></o:p></span></b></p>
<p class="MsoPlainText"><span style="mso-fareast-language:ZH-CN">About two weeks ago, I was able to download the bash-4.4.19-7.el8.src.rpm file through the “dnf download --source bash-4.4.19-7.el8” command in centos8.<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="mso-fareast-language:ZH-CN">But now I cannot download the bash-4.4.19-7.el8.src.rpm file with this command, even if I can download it at
<a href="http://vault.centos.org/8.0.1905/BaseOS/Source/SPackages/">http://vault.centos.org/8.0.1905/BaseOS/Source/SPackages/</a> .<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoPlainText"><b><span style="font-size:12.0pt;mso-fareast-language:ZH-CN">Error info:<o:p></o:p></span></b></p>
<p class="MsoPlainText"><span style="mso-fareast-language:ZH-CN">No package bash-4.4.19-7.el8.src available.<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="mso-fareast-language:ZH-CN">Exiting due to strict setting.<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="mso-fareast-language:ZH-CN">Error: No package bash-4.4.19-7.el8.src available.<o:p></o:p></span></p>
<p class="MsoPlainText"><b><span style="mso-fareast-language:ZH-CN"><o:p> </o:p></span></b></p>
<p class="MsoPlainText"><span style="mso-fareast-language:ZH-CN">please contact me, If you have any good suggestions.<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="mso-fareast-language:ZH-CN">Thank you<o:p></o:p></span></p>
<p class="MsoPlainText"><b><span style="mso-fareast-language:ZH-CN"><o:p> </o:p></span></b></p>
<p class="MsoPlainText"><span style="mso-fareast-language:ZH-CN">Best Regards<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="mso-fareast-language:ZH-CN">Wish you happy everyday!<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="mso-fareast-language:ZH-CN">--------------------------------<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="mso-fareast-language:ZH-CN">Yong.Fu- Neusoft<o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p><span style="mso-fareast-language:ZH-CN">---------------------------------------------------------------------------------------------------<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>
---------------------------------------------------------------------------------------------------<o:p></o:p></span></p>
</div>
</body>
</html>