Skip to content

Commit

Permalink
Kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
hgreebe committed Oct 17, 2024
1 parent f2abdaf commit 5b84636
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
bash "Install kernel source" do
user 'root'
code <<-INSTALL_KERNEL_SOURCE
package="#{kernel_source_package}-$(uname -r)"
package="#{kernel_source_package}-$#{node['platform_version']}"
# try to install kernel source for a specific release version
dnf install -y ${package} --releasever #{node['platform_version']}
dnf install -y #{kernel_source_package} --releasever #{node['platform_version']}
if [ $? -ne 0 ]; then
# Previous releases are moved into a vault area once a new minor release version is available for at least a week.
# https://wiki.rockylinux.org/rocky/repo/#notes-on-devel
Expand Down

0 comments on commit 5b84636

Please sign in to comment.