Skip to content

Commit

Permalink
Merge pull request #275 from codyro/blog-syntax-highlighting
Browse files Browse the repository at this point in the history
Enable and style code syntax highlighting, adjust AMD zenbleed blog post formatting
  • Loading branch information
codyro authored Jul 25, 2023
2 parents 5d253ae + 3321334 commit f4bd13d
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 13 deletions.
11 changes: 11 additions & 0 deletions assets/css/bundle.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 11 additions & 1 deletion assets/scss/blog.css
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,14 @@
max-width: 100%;
margin: auto;
}
}/*# sourceMappingURL=blog.css.map */
.highlight > pre {
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
padding: 10px;
font-size: 16px;
border-radius: 10px;
overflow-wrap: anywhere;
}
}/*# sourceMappingURL=blog.css.map */
12 changes: 11 additions & 1 deletion assets/scss/blog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -210,4 +210,14 @@
max-width: 100%;
margin: auto;
}
}
.highlight > pre {
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
padding: 10px;
font-size: 16px;
border-radius: 10px;
overflow-wrap: anywhere;
}
}
32 changes: 21 additions & 11 deletions content/blog/zenbleed-patch-call-for-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,27 +32,37 @@ You can see the diff of the changes on [git.almalinux.org](https://git.almalinux

Due to the risks involved in these patches, these packages are not yet in production and need testing! If you are willing to help provide us feedback, and have access to a **bare metal AMD system**, you can manually install them by pulling them from the AlmaLinux Build System.

To install the new RPM on AlmaLinux 8:
**To install the new RPM on AlmaLinux 8:**

`dnf update https://build.almalinux.org/pulp/content/builds/AlmaLinux-8-x86_64-7032-br/Packages/l/linux-firmware-20230404-114.git2e92a49f.el8_8.alma.noarch.rpm`
{{< highlight bash >}}
dnf update https://build.almalinux.org/pulp/content/builds/AlmaLinux-8-x86_64-7032-br/Packages/l/linux-firmware-20230404-114.git2e92a49f.el8_8.alma.noarch.rpm
{{< /highlight >}}

For AlmaLinux 9:
**For AlmaLinux 9:**

`dnf update https://build.almalinux.org/pulp/content/builds/AlmaLinux-9-x86_64-7033-br/Packages/l/linux-firmware-20230310-134.el9_2.alma.noarch.rpm`
{{< highlight bash >}}
dnf update https://build.almalinux.org/pulp/content/builds/AlmaLinux-9-x86_64-7033-br/Packages/l/linux-firmware-20230310-134.el9_2.alma.noarch.rpm
{{< /highlight >}}


To check that the installation completed successfully, you can run `rpm -qa linux-firmware`.
**To check that the installation completed successfully, you can run:**

**To update CPU microcode run the following:**
`echo 1 > /sys/devices/system/cpu/microcode/reload`
{{< highlight bash >}}
rpm -qa linux-firmware
{{< /highlight >}}

Once you have completed your testing, please help us by letting us know it works for you! Please share the following information (sanitized in whatever way you feel comfortable) in a comment on the issue we’ve opened to track this update on bugs.almalinux.org. We have created one specific to [AlmaLinux 8](https://bugs.almalinux.org/view.php?id=412) and one for [AlmaLinux 9](https://bugs.almalinux.org/view.php?id=413). Please include the output of the two commands from the test server.
**To update CPU microcode run the following:**

> Did it work for you? Yes or no.
{{< highlight bash >}}
echo 1 > /sys/devices/system/cpu/microcode/reload
{{< /highlight >}}

`lscpu`
Once you have completed your testing, please help us by letting us know it works for you! Please share the following information (sanitized in whatever way you feel comfortable) in a comment on the issue we’ve opened to track this update on bugs.almalinux.org. We have created one specific to [AlmaLinux 8](https://bugs.almalinux.org/view.php?id=412) and one for [AlmaLinux 9](https://bugs.almalinux.org/view.php?id=413). Please include the output of the two commands from the test server and whether it worked for you.

`journalctl -k --grep=microcode`
{{< highlight bash >}}
lscpu
journalctl -k --grep=microcode
{{< /highlight >}}


## Why call for testing now?
Expand Down

0 comments on commit f4bd13d

Please sign in to comment.