Skip to content

Commit

Permalink
fix: redhat 8.6 and redhat 8.8 gpu support (#1119)
Browse files Browse the repository at this point in the history
* fix: fetches new kernel headers

* fix: pin gcc version for redhat 8.8
  • Loading branch information
faiq authored Jul 11, 2024
1 parent 7750c39 commit 12e9b9c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bundles/redhat8.6/packages.txt.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ elfutils-libelf-devel
libseccomp
nfs-utils
iproute-tc
kernel-headers-4.18.0-372.93.1.el8_6
kernel-devel-4.18.0-372.93.1.el8_6
kernel-headers-4.18.0-372.103.1.el8_6
kernel-devel-4.18.0-372.103.1.el8_6
glibc-all-langpacks-2.28
glibc-devel-2.28
3 changes: 1 addition & 2 deletions bundles/redhat8.8/bundle.sh.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ subscription::defer_unregister() {
subscription-manager release --set=8.8
subscription-manager refresh
subscription::defer_unregister
subscription-manager repos --enable rhel-8-for-x86_64-baseos-eus-rpms
subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
subscription-manager repos --enable rhel-8-for-x86_64-appstream-rpms
yum -y install gettext yum-utils createrepo dnf-utils modulemd-tools
Expand All @@ -59,7 +58,7 @@ sed -i 1d reqs.txt # we need to get rid of the first line
#shellcheck disable=SC2046
yumdownloader --archlist=x86_64,noarch --setopt=skip_missing_names_on_install=False -x \*i686 $(< reqs.txt)
#shellcheck disable=SC2046
yumdownloader --setopt=skip_missing_names_on_install=False -x \*i686 --archlist=x86_64,noarch --resolve --disablerepo=* --enablerepo=kubernetes,rhel-8-for-x86_64-baseos-eus-rpms,codeready-builder-for-rhel-8-x86_64-rpms,rhel-8-for-x86_64-appstream-rpms $(< packages.txt)
yumdownloader --setopt=skip_missing_names_on_install=False -x \*i686 --archlist=x86_64,noarch --resolve --disablerepo=* --enablerepo=kubernetes,codeready-builder-for-rhel-8-x86_64-rpms,rhel-8-for-x86_64-appstream-rpms $(< packages.txt)
rm packages.txt reqs.txt
curl https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm -o amazon-ssm-agent.rpm
createrepo -v .
Expand Down
1 change: 1 addition & 0 deletions bundles/redhat8.8/packages.txt.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ iptables
socat
cri-tools
gcc
glibc-devel
make
libseccomp
nfs-utils
Expand Down

0 comments on commit 12e9b9c

Please sign in to comment.