From 8f1a106c90490121e2b3f3f5100c0691356709e5 Mon Sep 17 00:00:00 2001 From: Antsiferov Grigory Date: Thu, 16 Aug 2018 12:25:28 +0300 Subject: [PATCH] Add basic intel microcode states --- sls/boot/microcode/intel.sls | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sls/boot/microcode/intel.sls diff --git a/sls/boot/microcode/intel.sls b/sls/boot/microcode/intel.sls new file mode 100644 index 0000000..85cf385 --- /dev/null +++ b/sls/boot/microcode/intel.sls @@ -0,0 +1,12 @@ +sys-firmware/intel-microcode: + pkg.latest + +sys-apps/iucode_tool: + pkg.latest + +update_iucode: + cmd.wait: + - name: "iucode_tool -S --write-earlyfw=/boot/early_ucode.cpio /lib/firmware/intel-ucode/* --overwrite" + - watch: + - pkg: sys-firmware/intel-microcode + - pkg: sys-apps/iucode_tool