diff options
| author | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
|---|---|---|
| committer | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
| commit | c82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch) | |
| tree | 56d864b5a5c6c145edd96178ae219a8f90e191a6 /opt/amd-ucode/MAKEPKG | |
| download | ports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz | |
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'opt/amd-ucode/MAKEPKG')
| -rw-r--r-- | opt/amd-ucode/MAKEPKG | 31 |
1 files changed, 31 insertions, 0 deletions
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 |
