summaryrefslogtreecommitdiff
path: root/opt/amd-ucode
diff options
context:
space:
mode:
authorrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
committerrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
commitc82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch)
tree56d864b5a5c6c145edd96178ae219a8f90e191a6 /opt/amd-ucode
downloadports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'opt/amd-ucode')
-rw-r--r--opt/amd-ucode/.footprint3
-rw-r--r--opt/amd-ucode/.signature6
-rw-r--r--opt/amd-ucode/MAKEPKG31
3 files changed, 40 insertions, 0 deletions
diff --git a/opt/amd-ucode/.footprint b/opt/amd-ucode/.footprint
new file mode 100644
index 0000000..54551dc
--- /dev/null
+++ b/opt/amd-ucode/.footprint
@@ -0,0 +1,3 @@
+drwxr-xr-x root/root boot/
+drwxr-xr-x root/root boot/efi/
+-rw-r--r-- root/root boot/efi/amd-ucode.img
diff --git a/opt/amd-ucode/.signature b/opt/amd-ucode/.signature
new file mode 100644
index 0000000..95de0fb
--- /dev/null
+++ b/opt/amd-ucode/.signature
@@ -0,0 +1,6 @@
+RWTZ9IduCSQ/mIXGnCD/wfCotdq8N90ML4TS0Ikkdte4/aeHPXakVT9HrvQJw8qzYuu099I0oZXmBuL742+WXZgP+AHQYfI72gs=
+
+SHA256 (MAKEPKG) = 5bbeff7b4b3c12e7b92658b7ab91dc6cbacef583ef71f6de7ada188d97572ae7
+SHA256 (.footprint) = 981bd2f787517a22c6e89fb3d360ca5713a656b746981764bea354c442e42318
+SHA256 (linux-firmware-20260916.tar.xz) = f80dcb757a623deda62200c08e0e1a88c76fb6b54964f31b35fa74da1c90ccc5
+SHA256 (amd-ucode#20260916-1.pkg.tar.gz) = 5bc508b046731f227a3fc08b9e050ffa4542d72ce4899e961306f6c895b70759
diff --git a/opt/amd-ucode/MAKEPKG b/opt/amd-ucode/MAKEPKG
new file mode 100644
index 0000000..44664f8
--- /dev/null
+++ b/opt/amd-ucode/MAKEPKG
@@ -0,0 +1,31 @@
+#!/bin/mkpkg
+# description: AMD CPU microcode early initramfs image
+# url: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
+
+name=amd-ucode
+version=20260916
+release=1
+makedeps=(cpio)
+source=(https://mirrors.edge.kernel.org/pub/linux/kernel/firmware/linux-firmware-$version.tar.xz)
+
+sha256sums=(
+ "f80dcb757a623deda62200c08e0e1a88c76fb6b54964f31b35fa74da1c90ccc5"
+)
+
+build() {
+ cd linux-firmware-$version
+
+ mkdir -p kernel/x86/microcode
+ cat amd-ucode/microcode_amd*.bin > kernel/x86/microcode/AuthenticAMD.bin
+
+ find kernel | cpio -o -H newc --owner=0:0 > amd-ucode.img
+
+ install -Dm644 amd-ucode.img $PKG/boot/efi/amd-ucode.img
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh