Skip to content

Commit

Permalink
234 added missing intel-ucode microcode files (#235)
Browse files Browse the repository at this point in the history
- components/intel-ucode: added intel microcode files
  • Loading branch information
itsManjeet authored Sep 4, 2024
1 parent ee1a475 commit 373e5e4
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
17 changes: 17 additions & 0 deletions elements/components/intel-ucode.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
id: intel-ucode
version: 20240813
about: Microcode update files for Intel CPUs

script: |-
rm -f intel-ucode{,-with-caveats}/list
mkdir -p kernel/x86/microcode
iucode_tool --write-earlyfw=intel-ucode.img intel-ucode{,-with-caveats}/
install -vDm 644 intel-ucode/* -t %{install-root}%{libdir}/firmware/intel-ucode/
build-depends:
- components/iucode-tool.yml

sources:
- https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/refs/tags/microcode-%{version}.tar.gz
9 changes: 9 additions & 0 deletions elements/components/iucode-tool.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
id: iucode-tool
version: 2.3.1
about: Tool to manipulate Intel® IA-32/X86-64 microcode bundles

depends:
- components/glibc.yml

sources:
- https://gitlab.com/iucode-tool/releases/raw/master/iucode-tool_%{version}.tar.xz
1 change: 1 addition & 0 deletions elements/platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ depends:

- components/firmware.yml
- components/sof-firmware.yml
- components/intel-ucode.yml

- components/system-config-printer.yml

Expand Down
2 changes: 2 additions & 0 deletions elements/system/repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ initial-commands: |-
cp /lib/modules/${kerver}/bzImage /lib/modules/${kerver}/vmlinuz
dracut --reproducible -v --no-machineid \
--early-microcode \
--no-hostonly \
--kver ${kerver} \
--add dmsquash-live \
--add ostree \
Expand Down

0 comments on commit 373e5e4

Please sign in to comment.