Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 384480 Details for
Bug 522428
=sys-boot/grub-2.02_beta2: grub-probe/grub-mkconfig problems
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
grub2-probe: fix -0 option
0002-Fix-grub-probe-0-option.patch (text/plain), 1.13 KB, created by
Coacher
on 2014-09-09 21:22:11 UTC
(
hide
)
Description:
grub2-probe: fix -0 option
Filename:
MIME Type:
Creator:
Coacher
Created:
2014-09-09 21:22:11 UTC
Size:
1.13 KB
patch
obsolete
>From 9b35fe819f642f9277534d97f73024eb6734057d Mon Sep 17 00:00:00 2001 >From: Colin Watson <cjwatson@ubuntu.com> >Date: Mon, 31 Mar 2014 13:51:17 +0100 >Subject: [PATCH] Fix grub-probe -0 option > >* util/grub-probe,c (options): Make -0 work again (broken by >conversion to argp). >(main): Simplify logic. > >diff --git a/util/grub-probe.c b/util/grub-probe.c >index 1f3b59f..80509be 100644 >--- a/util/grub-probe.c >+++ b/util/grub-probe.c >@@ -711,6 +711,7 @@ static struct argp_option options[] = { > N_("use FILE as the device map [default=%s]"), 0}, > {"target", 't', N_("TARGET"), 0, 0, 0}, > {"verbose", 'v', 0, 0, N_("print verbose messages."), 0}, >+ {0, '0', 0, 0, N_("separate items in output using ASCII NUL characters"), 0}, > { 0, 0, 0, 0, 0, 0 } > }; > >@@ -884,11 +885,7 @@ main (int argc, char *argv[]) > else > probe (arguments.devices[0], NULL, delim); > >- if (!arguments.zero_delim && (print == PRINT_BIOS_HINT >- || print == PRINT_IEEE1275_HINT >- || print == PRINT_BAREMETAL_HINT >- || print == PRINT_EFI_HINT >- || print == PRINT_ARC_HINT)) >+ if (delim == ' ') > putchar ('\n'); > > /* Free resources. */ >-- >1.8.5.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 522428
:
384450
|
384452
|
384472
|
384480
|
384482
|
384484
|
384486
|
384488
|
384490