We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccf40ee commit a01f3d0Copy full SHA for a01f3d0
bin/GenGrubConf
@@ -32,7 +32,7 @@ class GrubConf:
32
cmd_env["GRUB_CMDLINE_LINUX"] = "vt.default_utf8=1 brd.rd_nr=0 hid_apple.iso_layout=0 hid_apple.fnmode=2 video=LVDS-1:e video=HDMI-1:e video=VGA=1:e rootwait net.ifnames=0"
33
subprocess.Popen(["grub-mkconfig", "-o", self.grubconf], env=cmd_env).wait()
34
35
- if not is_uefi():
+ if not is_uefi() and os.path.exists("/System/Kernel/Boot/grub/grubenv"):
36
subprocess.Popen(["grub-editenv", "-", "set", "feature_default_font_path=n"]).wait()
37
38
self.data = open(self.grubconf).read()
0 commit comments