Re: F29 System Wide Change: Make BootLoaderSpec the default ['id' field]

2018-06-27 Thread Javier Martinez Canillas
On Tue, Jun 26, 2018 at 10:38 PM, Javier Martinez Canillas wrote: > On Tue, Jun 26, 2018 at 5:36 PM, Javier Martinez Canillas > wrote: >> On Tue, Jun 26, 2018 at 4:33 PM, Peter Jones wrote: > > [snip] > >>> It attempts to sort using the id field, and if this isn't defined other fields

Re: F29 System Wide Change: Make BootLoaderSpec the default ['id' field]

2018-06-26 Thread Javier Martinez Canillas
On Tue, Jun 26, 2018 at 5:36 PM, Javier Martinez Canillas wrote: > On Tue, Jun 26, 2018 at 4:33 PM, Peter Jones wrote: [snip] >> >>> It attempts to sort using the id field, and if this isn't defined >>> other fields are used as fallback in the following order: version, >>> title, linux. >> >>

Re: F29 System Wide Change: Make BootLoaderSpec the default ['id' field]

2018-06-26 Thread Lennart Poettering
On Di, 26.06.18 10:33, Peter Jones (pjo...@redhat.com) wrote: > On Tue, Jun 26, 2018 at 03:46:59PM +0200, Javier Martinez Canillas wrote: > > > That raises two questions: > > > 1. Why isn't just the bls-snippet filename used as the key? It's > > >necessarily unique and should be usable for

Re: F29 System Wide Change: Make BootLoaderSpec the default ['id' field]

2018-06-26 Thread Javier Martinez Canillas
On Tue, Jun 26, 2018 at 4:33 PM, Peter Jones wrote: > On Tue, Jun 26, 2018 at 03:46:59PM +0200, Javier Martinez Canillas wrote: >> > That raises two questions: >> > 1. Why isn't just the bls-snippet filename used as the key? It's >> >necessarily unique and should be usable for the purpose of

Re: F29 System Wide Change: Make BootLoaderSpec the default ['id' field]

2018-06-26 Thread Peter Jones
On Tue, Jun 26, 2018 at 03:46:59PM +0200, Javier Martinez Canillas wrote: > > That raises two questions: > > 1. Why isn't just the bls-snippet filename used as the key? It's > >necessarily unique and should be usable for the purpose of uniquely > >identifying the boot entry without

Re: F29 System Wide Change: Make BootLoaderSpec the default ['id' field]

2018-06-26 Thread Javier Martinez Canillas
On Mon, Jun 25, 2018 at 6:14 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Mon, Jun 18, 2018 at 04:40:41PM +0200, Ondřej Lysoněk wrote: >> On 14.6.2018 12:06, Jan Kurik wrote: >> I noticed the official spec defines a field named "machine-id". AFAICS, >> GRUB2 doesn't implement that option, but it

Re: F29 System Wide Change: Make BootLoaderSpec the default ['id' field]

2018-06-25 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Jun 18, 2018 at 04:40:41PM +0200, Ondřej Lysoněk wrote: > On 14.6.2018 12:06, Jan Kurik wrote: > I noticed the official spec defines a field named "machine-id". AFAICS, > GRUB2 doesn't implement that option, but it supports a field named "id". > Are these used for the same thing? If they