]> git.ozlabs.org Git - petitboot/commitdiff
discover/grub: Reverse BLS entries sorting to match Petitboot's boot order
authorJavier Martinez Canillas <javierm@redhat.com>
Tue, 17 Apr 2018 17:08:58 +0000 (19:08 +0200)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Wed, 18 Apr 2018 01:10:41 +0000 (11:10 +1000)
The BLS entries were sorted so that the latest entry was at the top in the
Petitboot UI, since it matches how menu entries are sorted in GRUB2 config
and the GRUB2 UI.

But in the Petitboot's UI, the latest entry is expected to be at the bottom
and the older one at the top. Sort the BLS entries to match what's expected.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>

No differences found