yum-minimal: Add centos-stream-repos package for centos-8-stream
centos-repos package is not available on centos-8-stream: 2020-11-02 15:35:20.962 | No Match for argument centos-repos 2020-11-02 15:35:20.992 | No Match for argument centos-release-stream The build fails later on install_pkg_manager sed command: 2020-11-02 15:35:22.903 | sed: can't read /var/cache/nodepool/dib_tmp/dib_build.iPSHptNW/mnt/etc/yum.repos.d/*repo: No such file or directory This change ensure centos-stream-repos package is installed to provide /etc/yum.repos.d/*repo files This change replace 'centos-release-stream' package with the new 'centos-stream-release' package [1] [1] https://lists.centos.org/pipermail/centos-devel/2020-September/056069.html Change-Id: I6c397bf7b5797a02e5f006c18ee63c9cdf66b38c
This commit is contained in:
parent
f6315c9757
commit
c160538465
@ -93,7 +93,7 @@ function _install_repos {
|
|||||||
if [[ ${DISTRO_NAME} = centos && ${DIB_RELEASE} > "7" ]]; then
|
if [[ ${DISTRO_NAME} = centos && ${DIB_RELEASE} > "7" ]]; then
|
||||||
packages+="centos-repos centos-gpg-keys "
|
packages+="centos-repos centos-gpg-keys "
|
||||||
if [[ "$DIB_RELEASE" =~ (stream) ]]; then
|
if [[ "$DIB_RELEASE" =~ (stream) ]]; then
|
||||||
packages+="centos-release-stream "
|
packages+="centos-stream-release centos-stream-repos "
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user