From f64513ce12df3065a914f6c49dc45c5a6da1929e Mon Sep 17 00:00:00 2001 From: Cody Robertson Date: Tue, 25 Jul 2023 00:03:48 -0400 Subject: [PATCH] Clean up blog syntax a bit, add code highlighting config - Text overflow on long commands, need to investigate why - Fixed inconsistent bolding --- config.yaml | 17 ++++++++++++- content/blog/zenbleed-patch-call-for-testing.md | 34 +++++++++++++++---------- 2 files changed, 37 insertions(+), 14 deletions(-) diff --git a/config.yaml b/config.yaml index 2643d483..e16e5af 100644 --- a/config.yaml +++ b/config.yaml @@ -45,4 +45,19 @@ languages: markup: goldmark: renderer: - unsafe: true \ No newline at end of file + unsafe: true + highlight: + anchorLineNos: false + codeFences: true + guessSyntax: false + hl_Lines: "" + hl_inline: false + lineAnchors: "" + lineNoStart: 1 + lineNos: false + lineNumbersInTable: true + noClasses: true + noHl: false + style: github-dark + tabWidth: 4 + diff --git a/content/blog/zenbleed-patch-call-for-testing.md b/content/blog/zenbleed-patch-call-for-testing.md index 5101d29..5f5d76f 100644 --- a/content/blog/zenbleed-patch-call-for-testing.md +++ b/content/blog/zenbleed-patch-call-for-testing.md @@ -31,27 +31,35 @@ 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:** -To check that the installation completed successfully, you can run `rpm -qa linux-firmware`. +{{< highlight bash >}} +rpm -qa linux-firmware +{{< /highlight >}} **To update CPU microcode run the following:** -> echo 1 > /sys/devices/system/cpu/microcode/reload +{{< highlight bash >}} +echo 1 > /sys/devices/system/cpu/microcode/reload +{{< /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. +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 if it worked for you. -> Did it work for you? Yes or no. - -> lscpu - -> journalctl -k --grep=microcode +{{< highlight bash >}} +lscpu +journalctl -k --grep=microcode +{{< /highlight >}} ## Why call for testing now? @@ -63,4 +71,4 @@ The depth of this exploit is motivation for moving fast, in our opinion. Our use Joining the AlmaLinux community is easy! For anyone that has time to offer: the Release Engineering SIG (~Engineering/RelEng on [chat.almalinux.org](https://chat.almalinux.org)) could use help for testing and building our pipelines, but the Infra, Cloud, and Marketing SIGs are always looking as well. You can also convince your company to become a sponsor or just back us as an individual [on GitHub](https://github.com/sponsors/AlmaLinux) or [OpenCollective](https://opencollective.com/almalinux-os-foundation). -Thank you to everyone who helps make AlmaLinux happen. Our individual sponsors and backers in addition to our corporate sponsors are the biggest reason we can continue to provide AlmaLinux OS free forever. \ No newline at end of file +Thank you to everyone who helps make AlmaLinux happen. Our individual sponsors and backers in addition to our corporate sponsors are the biggest reason we can continue to provide AlmaLinux OS free forever.