Merge pull request #9417 from friberk/master

intel-code: Update actions.py
This commit is contained in:
Kamil ATLI
2021-05-27 20:30:32 +03:00
committed by GitHub
+2 -2
View File
@@ -12,8 +12,8 @@ from pisi.actionsapi import get
def build():
shelltools.system("rm -f intel-ucode{,-with-caveats}/list")
shelltools.system("mkdir -p kernel/x86/microcode")
shelltools.system("iucode_tool --write-earlyfw=intel-ucode.cpio intel-ucode{,-with-caveats}/")
shelltools.system("iucode_tool --write-earlyfw=intel-ucode.img intel-ucode{,-with-caveats}/")
shelltools.chmod(get.curDIR() + "/intel-ucode.img", 0644)
def install():
pisitools.insinto("/boot", "intel-ucode.img")
pisitools.insinto("/boot", "intel-ucode.img")