Skip to content

Commit d89b00c

Browse files
committed
Updated nvidia-driver install script and GitHub workflow to build driver for OKD4.18
1 parent e42f909 commit d89b00c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/publish-docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
# Strip "v" prefix from tag name
3838
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
3939
# Use Docker `latest` tag convention
40-
[ "$VERSION" == "main" ] && VERSION=latest-scos4.17
40+
[ "$VERSION" == "main" ] && VERSION=latest-scos4.18
4141
echo "IMAGE_ID=$IMAGE_ID" >> $GITHUB_ENV
4242
echo "VERSION=$VERSION" >> $GITHUB_ENV
4343

nvidia-driver

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ _install_prerequisites() (
8686
echo "Failed to find kernel-headers-${KERNEL_VERSION} in repositories."
8787
echo "Trying to download kernel-headers from koji..."
8888
# KOJI_KERNEL_HEADERS_RPM=$KOJI_BASE_URL/packages/kernel-headers/$KERNEL_RPM_VERSION/$KERNEL_RPM_RELEASE/$KERNEL_RPM_ARCH/kernel-headers-$KERNEL_VERSION.rpm
89-
KOJI_KERNEL_HEADERS_RPM='https://kojihub.stream.centos.org/kojifiles/packages/kernel/5.14.0/554.el9/x86_64/kernel-headers-5.14.0-554.el9.x86_64.rpm'
89+
KOJI_KERNEL_HEADERS_RPM='https://kojihub.stream.centos.org/kojifiles/packages/kernel/5.14.0/580.el9/x86_64/kernel-headers-5.14.0-580.el9.x86_64.rpm'
9090
if ! dnf -q -y install $KOJI_KERNEL_HEADERS_RPM \
9191
--setopt=install_weak_deps=False; then
9292
echo "Failed to find kernel-headers-${KERNEL_VERSION} in koji."
@@ -102,7 +102,7 @@ _install_prerequisites() (
102102
echo "Failed to find kernel-devel-${KERNEL_VERSION} in repositories."
103103
echo "Trying to download kernel-devel from koji..."
104104
# KOJI_KERNEL_DEVEL_RPM=$KOJI_BASE_URL/packages/kernel/$KERNEL_RPM_VERSION/$KERNEL_RPM_RELEASE/$KERNEL_RPM_ARCH/kernel-devel-$KERNEL_VERSION.rpm
105-
KOJI_KERNEL_DEVEL_RPM='https://kojihub.stream.centos.org/kojifiles/packages/kernel/5.14.0/554.el9/x86_64/kernel-devel-5.14.0-554.el9.x86_64.rpm'
105+
KOJI_KERNEL_DEVEL_RPM='https://kojihub.stream.centos.org/kojifiles/packages/kernel/5.14.0/580.el9/x86_64/kernel-devel-5.14.0-580.el9.x86_64.rpm'
106106
if ! dnf -q -y install $KOJI_KERNEL_DEVEL_RPM \
107107
--setopt=install_weak_deps=False; then
108108
echo "Can't find kernel-devel-${KERNEL_VERSION}"
@@ -119,7 +119,7 @@ _install_prerequisites() (
119119
echo "Failed to find kernel-core-${KERNEL_VERSION} in repositories."
120120
echo "Trying to download kernel-core from koji..."
121121
# KOJI_KERNEL_CORE_RPM=$KOJI_BASE_URL/packages/kernel/$KERNEL_RPM_VERSION/$KERNEL_RPM_RELEASE/$KERNEL_RPM_ARCH/kernel-core-$KERNEL_VERSION.rpm
122-
KOJI_KERNEL_CORE_RPM='https://kojihub.stream.centos.org/kojifiles/packages/kernel/5.14.0/554.el9/x86_64/kernel-core-5.14.0-554.el9.x86_64.rpm'
122+
KOJI_KERNEL_CORE_RPM='https://kojihub.stream.centos.org/kojifiles/packages/kernel/5.14.0/580.el9/x86_64/kernel-core-5.14.0-580.el9.x86_64.rpm'
123123
if ! dnf -q -y download $KOJI_KERNEL_CORE_RPM; then
124124
echo "Can't find kernel-core-${KERNEL_VERSION}"
125125
echo "Please try to update your kernel on the host system."
@@ -136,7 +136,7 @@ _install_prerequisites() (
136136
echo "Failed to find kernel-modules-core-${KERNEL_VERSION} in repositories."
137137
echo "Trying to download kernel-modules-core from koji..."
138138
# KOJI_KERNEL_CORE_RPM=$KOJI_BASE_URL/packages/kernel/$KERNEL_RPM_VERSION/$KERNEL_RPM_RELEASE/$KERNEL_RPM_ARCH/kernel-modules-core-$KERNEL_VERSION.rpm
139-
KOJI_KERNEL_CORE_RPM='https://kojihub.stream.centos.org/kojifiles/packages/kernel/5.14.0/554.el9/x86_64/kernel-modules-core-5.14.0-554.el9.x86_64.rpm'
139+
KOJI_KERNEL_CORE_RPM='https://kojihub.stream.centos.org/kojifiles/packages/kernel/5.14.0/580.el9/x86_64/kernel-modules-core-5.14.0-580.el9.x86_64.rpm'
140140
if ! dnf -q -y download $KOJI_KERNEL_CORE_RPM \
141141
--setopt=install_weak_deps=False; then
142142
echo "Can't find kernel-modules-core-${KERNEL_VERSION}"

0 commit comments

Comments
 (0)