Added CPU microcode update hooks
This commit is contained in:
parent
7e72580486
commit
3a6cf07ba5
10
amd-ucode_reload.hook
Normal file
10
amd-ucode_reload.hook
Normal file
@ -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'
|
10
intel-ucode_reload.hook
Normal file
10
intel-ucode_reload.hook
Normal file
@ -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…
x
Reference in New Issue
Block a user