Added CPU microcode update hooks

master
root 3 years ago
parent 7e72580486
commit 3a6cf07ba5

@ -0,0 +1,10 @@
[Trigger]
Operation = Upgrade
Type = Path
Target = usr/lib/firmware/amd-ucode/*
[Action]
Description = Applying CPU microcode updates...
When = PostTransaction
Depends = sh
Exec = /bin/sh -c 'echo 1 > /sys/devices/system/cpu/microcode/reload'

@ -0,0 +1,10 @@
[Trigger]
Operation = Upgrade
Type = Path
Target = usr/lib/firmware/intel-ucode/*
[Action]
Description = Applying CPU microcode updates...
When = PostTransaction
Depends = sh
Exec = /bin/sh -c 'echo 1 > /sys/devices/system/cpu/microcode/reload'
Loading…
Cancel
Save