Fix amphora build in CentOS Stream 9

This patch is a combination of 2 commits:

Add missing release note for commit 0a9f3a8

This patch adds missing release note for fix added in commit
0a9f3a8e6f.

Change-Id: Id19c8446ac3521af454d53b05c4ea7177b2e21da
(cherry picked from commit 4dc9a7ec95)

Add support for Centos 9 Stream

Update elements for c9s

Change-Id: I3f9d08fd4ce038208b8c2d160e6abecae8c8383d
(cherry picked from commit 0a9f3a8e6f)
This commit is contained in:
Gregory Thiemonge 2021-11-02 16:39:38 +01:00 committed by Douglas Viroel
parent 24ebc652e8
commit 28220096b5
3 changed files with 16 additions and 1 deletions

View File

@ -20,6 +20,17 @@
"vlan": "",
"screen": "",
"dkms": ""
},
"9-stream": {
"debootstrap": "",
"isc-dhcp-client": "dhcp-client",
"python3-dev": "platform-python-devel",
"python3-venv": "",
"python3": "python39",
"vlan": "",
"screen": "",
"dkms": "",
"network-scripts": ""
}
},
"ubuntu": {

View File

@ -3,7 +3,7 @@
set -eu
set -o xtrace
if [ "$DISTRO_NAME" == "centos" ]; then
if [[ "$DISTRO_NAME" == "centos" && "$DIB_RELEASE" == "8" ]]; then
dnf install -y dnf-plugins-core centos-release-nfv-common
# REVISIT(cgoncalves): replace arch if-else + GPG with release RPM once available
if [[ "$ARCH" =~ (aarch64|arm64) ]]; then

View File

@ -0,0 +1,4 @@
---
fixes:
- |
Fixed issues when building amphora image for Centos Stream 9.