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

Remove memtest86+ before updating grub

Otherwise we end up with 3 or 4 useless memtest entries in grub.cfg.
Memtest can be handy in a live ISO, but not post-install every time
you boot your computer.
üst dcc625c7
......@@ -483,6 +483,8 @@ class InstallerEngine:
self.update_progress(our_current, our_total, False, False, _("Installing bootloader"))
print " --> Running grub-install"
self.do_run_in_chroot("grub-install --force %s" % setup.grub_device)
# Remove memtest86+ package (it provides multiple memtest unwanted grub entries)
self.do_run_in_chroot("apt-get remove --purge --yes --force-yes memtest86+")
#fix not add windows grub entry
self.do_run_in_chroot("update-grub")
self.do_configure_grub(our_total, our_current)
......
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