void-packages/srcpkgs/efibootmgr/patches/efibootmgr_default_to_grub2.patch

25 lines
1.4 KiB
Diff
Raw Normal View History

2013-05-01 06:51:06 +00:00
--- src/efibootmgr/efibootmgr.c.orig 2013-05-01 08:47:28.191213068 +0200
+++ src/efibootmgr/efibootmgr.c 2013-05-01 08:49:21.578759005 +0200
@@ -786,8 +786,8 @@ usage()
2012-07-03 11:42:09 +00:00
printf("\t-g | --gpt force disk with invalid PMBR to be treated as GPT\n");
printf("\t-H | --acpi_hid XXXX set the ACPI HID (used with -i)\n");
printf("\t-i | --iface name create a netboot entry for the named interface\n");
2013-05-01 06:51:06 +00:00
- printf("\t-l | --loader name (defaults to \\EFI\\redhat\\grub.efi)\n");
2012-07-03 11:42:09 +00:00
- printf("\t-L | --label label Boot manager display label (defaults to \"Linux\")\n");
+ printf("\t-l | --loader name (defaults to \\EFI\\void_grub\\grubx64.efi)\n");
+ printf("\t-L | --label label Boot manager display label (defaults to \"Void Linux (GRUB2)\")\n");
printf("\t-n | --bootnext XXXX set BootNext to XXXX (hex)\n");
printf("\t-N | --delete-bootnext delete BootNext\n");
printf("\t-o | --bootorder XXXX,YYYY,ZZZZ,... explicitly set BootOrder (hex)\n");
2013-05-01 06:51:06 +00:00
@@ -814,8 +814,8 @@ set_default_opts()
2012-07-03 11:42:09 +00:00
opts.active = -1; /* Don't set it */
opts.timeout = -1; /* Don't set it */
opts.edd10_devicenum = 0x80;
2013-05-01 06:51:06 +00:00
- opts.loader = "\\EFI\\redhat\\grub.efi";
2012-07-03 11:42:09 +00:00
- opts.label = "Linux";
+ opts.loader = "\\EFI\\void_grub\\grubx64.efi";
+ opts.label = "Void Linux (GRUB2)";
opts.disk = "/dev/sda";
opts.iface = NULL;
opts.part = 1;