Skip to content

Commit e6f0208

Browse files
Add AlmaLinux 9.7 Support (#467)
* Support Almalinux 9.7 * fix version_id * Update DOCA to LTS --------- Co-authored-by: Zheyu Shen <arsdragonfly@gmail.com>
1 parent 981d644 commit e6f0208

File tree

8 files changed

+34
-33
lines changed

8 files changed

+34
-33
lines changed

components/install_nvidia_container_toolkit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ elif [[ $DISTRIBUTION == almalinux* ]]; then
2828
# Enable these lines if you want use experimental repo
2929
# if [[ $DISTRIBUTION == almalinux8.10 ]]; then
3030
# yum-config-manager --enable nvidia-container-toolkit-experimental
31-
# elif [[ $DISTRIBUTION == almalinux9.6 ]]; then
31+
# elif [[ $DISTRIBUTION == almalinux9* ]]; then
3232
# dnf config-manager --enable nvidia-container-toolkit-experimental
3333
# fi
3434

components/install_waagent.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ else
5252
python3 -m pip install --upgrade pip setuptools
5353
python3 -m pip install distro
5454
python3 setup.py install --register-service
55-
elif [[ $DISTRIBUTION == almalinux9.6 ]]; then
55+
elif [[ $DISTRIBUTION == almalinux9* ]]; then
5656
python3.12 -m ensurepip --upgrade # Ensures pip is available
5757
python3.12 -m pip install --upgrade pip setuptools
5858
python3.12 -m pip install distro
@@ -90,7 +90,7 @@ else
9090
rm -rf WALinuxAgent-${WAAGENT_VERSION}
9191
fi
9292

93-
if [[ $DISTRIBUTION == almalinux9.6 ]]; then
93+
if [[ $DISTRIBUTION == almalinux9* ]]; then
9494
write_component_version "WAAGENT" $(python3.12 -u /usr/sbin/waagent --version | head -n 1 | awk -F' ' '{print $1}' | awk -F- '{print $2}')
9595
write_component_version "WAAGENT_EXTENSIONS" $(python3.12 -u /usr/sbin/waagent --version | sed '3q;d' | awk -F' ' '{print $4}')
9696
else
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ yum update -y
1414

1515
# Install Kernel dependencies
1616
KERNEL=$(uname -r)
17-
dnf install -y https://repo.almalinux.org/almalinux/9.6/AppStream/x86_64/os/Packages/kernel-devel-matched-${KERNEL}.rpm \
18-
https://repo.almalinux.org/almalinux/9.6/AppStream/x86_64/os/Packages/kernel-devel-${KERNEL}.rpm \
19-
https://repo.almalinux.org/almalinux/9.6/AppStream/x86_64/os/Packages/kernel-headers-${KERNEL}.rpm \
20-
https://repo.almalinux.org/almalinux/9.6/BaseOS/x86_64/os/Packages/kernel-modules-extra-${KERNEL}.rpm
17+
VERSION_ID=$(. /etc/os-release;echo $VERSION_ID)
18+
dnf install -y https://repo.almalinux.org/almalinux/${VERSION_ID}/AppStream/x86_64/os/Packages/kernel-devel-matched-${KERNEL}.rpm \
19+
https://repo.almalinux.org/almalinux/${VERSION_ID}/AppStream/x86_64/os/Packages/kernel-devel-${KERNEL}.rpm \
20+
https://repo.almalinux.org/almalinux/${VERSION_ID}/AppStream/x86_64/os/Packages/kernel-headers-${KERNEL}.rpm \
21+
https://repo.almalinux.org/almalinux/${VERSION_ID}/BaseOS/x86_64/os/Packages/kernel-modules-extra-${KERNEL}.rpm
2122

2223
yum install -y wget \
2324
net-tools \

tests/test-matrix_NVIDIA.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"services": ["check_sku_customization", "check_nvidia_fabricmanager", "check_sunrpc_tcp_settings", "check_azure_persistent_rdma_naming"]
2828
}
2929
},
30-
"almalinux9.6": {
30+
"almalinux9.7": {
3131
"common":{
3232
"components": ["check_nvidia_driver","check_impi_2021", "check_gdrcopy", "check_cuda", "check_nccl", "check_gcc", "check_aocl", "check_aocc", "check_docker", "check_dcgm", "check_nvlink", "check_lustre"],
3333
"services": ["check_sku_customization", "check_nvidia_fabricmanager", "check_sunrpc_tcp_settings", "check_azure_persistent_rdma_naming"]

utils/set_properties.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ elif [[ $DISTRIBUTION == almalinux* ]]; then
3131
if [[ $DISTRIBUTION == "almalinux8.10" ]]; then
3232
# Import the newest AlmaLinux GPG key
3333
rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux
34-
elif [[ $DISTRIBUTION == "almalinux9.6" ]]; then
34+
elif [[ $DISTRIBUTION == almalinux9* ]]; then
3535
rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux-9
3636
fi
3737
yum install -y jq

versions.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
"doca": {
1515
"ubuntu22.04": {
1616
"x86_64": {
17-
"version": "3.1.0",
18-
"sha256": "5ba139cd07efee5769a2a39ee2797fc9183f3903d87f46385403e61f41076ac9",
19-
"url": "https://www.mellanox.com/downloads/DOCA/DOCA_v3.1.0/host/doca-host_3.1.0-091000-25.07-ubuntu2204_amd64.deb"
17+
"version": "3.2.1",
18+
"sha256": "75b8d4258b7239ef5021abaa25e7eeb4fcbc0c8117cab89ce1a766d2d218c8a0",
19+
"url": "https://www.mellanox.com/downloads/DOCA/DOCA_v3.2.1/host/doca-host_3.2.1-044000-25.10-ubuntu2204_amd64.deb"
2020
}
2121
},
2222
"ubuntu24.04": {
2323
"x86_64": {
24-
"version": "3.1.0",
25-
"sha256": "6a244de499f19869eb9d06455057cb95ed90745bd8c890ba1282df8d5c05a96e",
26-
"url": "https://www.mellanox.com/downloads/DOCA/DOCA_v3.1.0/host/doca-host_3.1.0-091000-25.07-ubuntu2404_amd64.deb"
24+
"version": "3.2.1",
25+
"sha256": "f16f08572b3b2f513b80af66c881c6a60c19e74f0da50afafaa42b0c34116533",
26+
"url": "https://www.mellanox.com/downloads/DOCA/DOCA_v3.2.1/host/doca-host_3.2.1-044000-25.10-ubuntu2404_amd64.deb"
2727
},
2828
"aarch64": {
2929
"version": "3.1.0-091513-25.07-ubuntu2404"
@@ -36,16 +36,16 @@
3636
},
3737
"almalinux8.10": {
3838
"x86_64": {
39-
"version": "3.2.0",
40-
"sha256": "1ceb64cfa21d70c38a1c1353a91cd3e7e353c37c20c96c6ea2bc486d6e943761",
41-
"url": "https://www.mellanox.com/downloads/DOCA/DOCA_v3.2.0/host/doca-host-3.2.0-125000_25.10_rhel8.x86_64.rpm"
39+
"version": "3.2.1",
40+
"sha256": "ce630bb2e98f4202ed041d8607c72caf9db2ea8a9d795b982823af5493e4cb4b",
41+
"url": "https://www.mellanox.com/downloads/DOCA/DOCA_v3.2.1/host/doca-host-3.2.1-044000_25.10_rhel8.x86_64.rpm"
4242
}
4343
},
44-
"almalinux9.6": {
44+
"almalinux9.7": {
4545
"x86_64": {
46-
"version": "3.1.0",
47-
"sha256": "21e87fa331b8b7ed0805cb77d42c7a566e3a09530cb4658cd75d68126c66cfc4",
48-
"url": "https://www.mellanox.com/downloads/DOCA/DOCA_v3.1.0/host/doca-host-3.1.0-091000_25.07_rhel96.x86_64.rpm"
46+
"version": "3.2.1",
47+
"sha256": "7b9bee723c1bb37388814160a6970f4a24e76801765c4d235a1db240e9ebe307",
48+
"url": "https://www.mellanox.com/downloads/DOCA/DOCA_v3.2.1/host/doca-host-3.2.1-044000_25.10_rhel9.x86_64.rpm"
4949
}
5050
},
5151
"rhel8.10": {
@@ -57,9 +57,9 @@
5757
},
5858
"azurelinux3.0": {
5959
"x86_64":{
60-
"version": "2.7.0",
61-
"sha256": "080275c6432725bff5ee819f564e801346cbd9da140dea6c26e5cae4e1b05fa7",
62-
"url": "https://www.mellanox.com/downloads/DOCA/DOCA_v2.7.0/host/doca-host-2.7.0-209000_24.04_rhel87.x86_64.rpm"
60+
"version": "3.2.1",
61+
"sha256": "dbf0ee79182c6ae00c99fc9089fa1d81fc6f406f64b2215bff7da9b8cc423ad5",
62+
"url": "https://www.mellanox.com/downloads/DOCA/DOCA_v3.2.1/host/doca-host-3.2.1-044000_25.10_alinux32.x86_64.rpm"
6363
}
6464
}
6565
},
@@ -90,7 +90,7 @@
9090
"url": "https://content.mellanox.com/hpc/hpc-x/v2.24.1_cuda13/hpcx-v2.24.1-gcc-doca_ofed-redhat8-cuda13-x86_64.tbz"
9191
}
9292
},
93-
"almalinux9.6": {
93+
"almalinux9.7": {
9494
"x86_64": {
9595
"version": "2.24.1",
9696
"sha256": "d2bf870830c88d096a209fc33bb7af7643e755b660e43fe60a3e6139af1d3016",
@@ -134,7 +134,7 @@
134134
"url": "https://content.mellanox.com/hpc/hpc-x/v2.18/hpcx-v2.18-gcc-mlnx_ofed-redhat8-cuda12-x86_64.tbz"
135135
}
136136
},
137-
"almalinux9.6": {
137+
"almalinux9.7": {
138138
"x86_64": {
139139
"version": "2.24.1",
140140
"sha256": "e21eadd223541b887cf3cf4a4b21cd03c2bd867cfbf07ec00d64ac0411b63923",
@@ -162,7 +162,7 @@
162162
"sha256": "03fc160c81a1d522b1e7c6723841e27fcab04d527484e4242d3e66d7c5024205",
163163
"url": "http://mvapich.cse.ohio-state.edu/download/mvapich/mv2/mvapich2-2.3.7-2.tar.gz"
164164
},
165-
"almalinux9.6": {
165+
"almalinux9.7": {
166166
"x86_64": {
167167
"version": "4.0",
168168
"sha256": "c532f7bdd5cca71f78c12e0885c492f6e276e283711806c84d0b0f80bb3e3b74",
@@ -258,7 +258,7 @@
258258
}
259259
}
260260
},
261-
"almalinux9.6": {
261+
"almalinux9.7": {
262262
"x86_64":{
263263
"driver": {
264264
"version": "580.105.08",
@@ -349,7 +349,7 @@
349349
}
350350
}
351351
},
352-
"almalinux9.6": {
352+
"almalinux9.7": {
353353
"x86_64":{
354354
"driver": {
355355
"version": "13.0",
@@ -420,7 +420,7 @@
420420
"distribution": "el8"
421421
}
422422
},
423-
"almalinux9.6": {
423+
"almalinux9.7": {
424424
"x86_64":{
425425
"version": "2.5.1-1",
426426
"commit": "0f7366e73b019e7facf907381f6b0b2f5a1576e4",
@@ -518,7 +518,7 @@
518518
"sha256": "a9fee8148837b1cad15359028f85bc9ce688fd727e0ff13441972fdacf6be282"
519519
}
520520
},
521-
"almalinux9.6": {
521+
"almalinux9.7": {
522522
"x86_64":{
523523
"version": "2.3.4-1",
524524
"sha256": "831c188a1c18107c289f78a62b3e00a0671f6fdaaa2cc4507ddae008e2157478"
@@ -553,7 +553,7 @@
553553
"common": {
554554
"version": "2.15.6-39-g3e00a10"
555555
},
556-
"almalinux9.6": {
556+
"almalinux9.7": {
557557
"x86_64":{
558558
"version": "2.15.7-33-g79ddf99"
559559
}

0 commit comments

Comments
 (0)