Re: Grub module to return partuuid of a device such as (hd0, gpt1) at boot time

2016-08-13 Thread Andrei Borzenkov
14.08.2016 07:12, Michael Zimmermann пишет: >> Not sure why, but whatever reply I chose Thunderbird and Gmail only > reply to list. > no idea about thunderbird but in GMail you have the small arrow beneath the > reply buttons, click it and select "Reply to all". > Should I repeat - "Whatever repl

Re: Do grub-mkrescue GPT GUIDs need more entropy than --fs-uuid gets ?

2016-08-13 Thread Andrei Borzenkov
14.08.2016 08:03, Michael Zimmermann пишет: > couldn't we generate GUID's based on the current git revision? > this way you reproduce the ISO without even looking at the timestamp. > > I don't know anything about the entropy requirements though. Lets wait for > a reply of the maintainers about tha

Re: Do grub-mkrescue GPT GUIDs need more entropy than --fs-uuid gets ?

2016-08-13 Thread Michael Zimmermann
couldn't we generate GUID's based on the current git revision? this way you reproduce the ISO without even looking at the timestamp. I don't know anything about the entropy requirements though. Lets wait for a reply of the maintainers about that. Thanks Michael On Thu, Aug 11, 2016 at 9:55 PM, T

Re: Grub module to return partuuid of a device such as (hd0, gpt1) at boot time

2016-08-13 Thread Michael Zimmermann
> Not sure why, but whatever reply I chose Thunderbird and Gmail only reply to list. no idea about thunderbird but in GMail you have the small arrow beneath the reply buttons, click it and select "Reply to all". On Sat, Aug 13, 2016 at 8:40 PM, Andrei Borzenkov wrote: > 13.08.2016 20:30, adrian1

Re: Grub module to return partuuid of a device such as (hd0, gpt1) at boot time

2016-08-13 Thread Steve Kenton
Embedded Linux on flash with no initramfs. I'm in the USA and recently had lots of "fun" trying to help a dealer in Australia with a unit that apparently had something plugged into the wrong slot. My goal is to always have our system at least boot and complain if physically possible no matter w

Re: Grub module to return partuuid of a device such as (hd0, gpt1) at boot time

2016-08-13 Thread Steve Kenton
My thought is to add a new command "partuuid" which takes a drive&partition string and sets an environment variable to the partition uuid (grub "partuuid" by default). Since grub always calls the load drive "hd0" this can then be passed directly to the kernel as a command line for the rootfs in

Re: Grub module to return partuuid of a device such as (hd0, gpt1) at boot time

2016-08-13 Thread Andrei Borzenkov
13.08.2016 20:30, adrian15 пишет: > What's your use case? > Well, this has been requested before and this is supported by Linux kernel. So as long as this does not increase core modules size (i.e. is done outside of partition probing core) I think it will be OK. > adrian15 > > El 12/08/16 a las

Re: Grub module to return partuuid of a device such as (hd0, gpt1) at boot time

2016-08-13 Thread adrian15
What's your use case? adrian15 El 12/08/16 a las 16:11, Steve Kenton escribió: As far as I can tell there is no search module that can be used to get the partuuid at boot time given a grub root device such as (hd0,gtp1). I think is would be a useful addition since the resulting partuuid could b

Re: [PATCH] Add missing va_end() to xasprintf() in grub-emu

2016-08-13 Thread Andrei Borzenkov
13.08.2016 11:54, Pete Batard пишет: > Hi, > > I believe there's an unbalanced va_start/va_end pair in grub-emu. > This patch fixes it. > Applied. Thanks! ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

[PATCH] Add missing va_end() to xasprintf() in grub-emu

2016-08-13 Thread Pete Batard
Hi, I believe there's an unbalanced va_start/va_end pair in grub-emu. This patch fixes it. Regards, /Pete From 0ed65abd009b79955c8578bfb40cc33e51e463ae Mon Sep 17 00:00:00 2001 From: Pete Batard Date: Sat, 13 Aug 2016 10:51:34 +0200 Subject: [PATCH] Add missing va_end() to xasprintf() in grub-