[Starlingx-discuss] Problems downloading mirror in centos8 environment
Bailey, Henry Albert (Al)
Al.Bailey at windriver.com
Thu Nov 28 15:14:14 UTC 2019
I am not familiar with those dnf commands.
Normally the steps are:
1) Update the lst file in https://opendev.org/starlingx/tools that corresponds to the component you want to update.
In your case, it sounds like changing the src rpm (and rpm) lines in:
https://opendev.org/starlingx/tools/src/branch/master/centos-mirror-tools/rpms_centos.lst#L61
2) Perform a mirror update. This might be those dnf commands, but mainly you need to get that src rpm downloaded.
In my env, it downloads to a mirror called /import/mirror/starlingx
3) 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.
I think that is these steps: https://docs.starlingx.io/contributor/build_guide.html#build-the-centos-mirror-repository
I typically run these 2 commands:
$MY_REPO_ROOT_DIR/stx-tools/toCOPY/generate-cgcs-centos-repo.sh /import/mirrors/starlingx
$MY_REPO_ROOT_DIR/stx-tools/toCOPY/populate_downloads.sh /import/mirrors/starlingx
4) Now you are ready to adjust the contents of the
https://opendev.org/starlingx/compile/src/branch/master/languages/bash/centos/srpm_path
5) 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.
Al
From: 付勇 [mailto:fuyong at neusoft.com]
Sent: Wednesday, November 27, 2019 10:41 PM
To: starlingx-discuss at lists.starlingx.io
Cc: zhaos at neusoft.com; lilong-neu; cindy.xie at intel.com; shuicheng.lin at intel.com; austin.sun at intel.com; '张志国'
Subject: [Starlingx-discuss] Problems downloading mirror in centos8 environment
Hi StarlingX team
I’m upgrading starlingx to centos8 and have a question to ask for help.
problem:
I cannot download the specified version of srpm through the dnf download --source command.
Eg:
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.
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 http://vault.centos.org/8.0.1905/BaseOS/Source/SPackages/ .
Error info:
No package bash-4.4.19-7.el8.src available.
Exiting due to strict setting.
Error: No package bash-4.4.19-7.el8.src available.
please contact me, If you have any good suggestions.
Thank you
Best Regards
Wish you happy everyday!
--------------------------------
Yong.Fu- Neusoft
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)
is intended only for the use of the intended recipient and may be confidential and/or privileged of
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is
not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying
is strictly prohibited, and may be unlawful.If you have received this communication in error,please
immediately notify the sender by return e-mail, and delete the original message and all copies from
your system. Thank you.
---------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20191128/6683938b/attachment-0001.html>
More information about the Starlingx-discuss
mailing list