Kaydet (Commit) c8cff722 authored tarafından Clement Lefebvre's avatar Clement Lefebvre

Install microcode packages

üst a6b22c60
......@@ -116,6 +116,7 @@ class InstallerEngine:
print "WARNING: No initrd found!!"
if (self.setup.gptonefi):
print " --> Installing signed boot loader"
os.system("mkdir -p /target/boot/efi/EFI/linuxmint")
os.system("cp /run/live/medium/EFI/BOOT/grubx64.efi /target/boot/efi/EFI/linuxmint")
os.system("mkdir -p /target/debs")
......@@ -125,6 +126,14 @@ class InstallerEngine:
self.do_run_in_chroot("dpkg -i /debs/*")
os.system("rm -rf /target/debs")
print " --> Installing microcode packages"
os.system("mkdir -p /target/debs")
os.system("cp /run/live/medium/pool/non-free/i/intel-microcode/* /target/debs/")
os.system("cp /run/live/medium/pool/non-free/a/amd64-microcode/* /target/debs/")
os.system("cp /run/live/medium/pool/contrib/i/iucode-tool/* /target/debs/")
self.do_run_in_chroot("dpkg -i /debs/*")
os.system("rm -rf /target/debs")
# Detect cdrom device
# TODO : properly detect cdrom device
# Mount it
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment