Skip to content

Commit

Permalink
fix: fix wrong instructions for suse (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Naraenda authored Nov 20, 2023
1 parent 3025787 commit e56a7aa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/how-to/amdgpu-install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ SUSE Linux Enterprise
.. tab-set::
{% for os_version in ['15.5', '15.4'] %}
.. tab-item:: RHEL-{{ os_version }}
.. tab-item:: SLES {{ os_version }}

.. code-block:: bash
:substitutions:
Expand Down
2 changes: 1 addition & 1 deletion docs/how-to/native-install/post-install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Verifying package installation
sudo yum list installed
.. tab-item:: SUSE
.. tab-item:: SLES
.. code-block:: bash
Expand Down
9 changes: 5 additions & 4 deletions docs/how-to/native-install/sle.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,20 @@ Register Kernel-Mode Driver
.. tab-set::
{% for os_version in ['15.5', '15.4'] %}
.. tab-item:: RHEL {{ os_version }}
.. tab-item:: SLES {{ os_version }}

.. code-block:: bash
:substitutions:
sudo tee /etc/yum.repos.d/amdgpu.repo <<EOF
sudo tee /etc/zypp/repos.d/amdgpu.repo <<EOF
[amdgpu]
name=amdgpu
baseurl=https://repo.radeon.com/amdgpu/|rocm_version|/sle/{{ os_version }}/main/x86_64/
enabled=1
gpgcheck=1
gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key
EOF
sudo zypper ref
{% endfor %}
Expand All @@ -34,7 +35,7 @@ Register ROCm Packages
.. code-block:: bash
:substitutions:
sudo tee --append /etc/yum.repos.d/rocm.repo <<EOF
sudo tee --append /etc/zypp/repos.d/rocm.repo <<EOF
[ROCm-|rocm_version|]
name=ROCm|rocm_version|
baseurl=https://repo.radeon.com/rocm/zyp/|rocm_version|/main
Expand All @@ -43,7 +44,7 @@ Register ROCm Packages
gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key
EOF
sudo yum clean all
sudo zypper ref
Installation
************
Expand Down

0 comments on commit e56a7aa

Please sign in to comment.