From: Javier Martinez Canillas Date: Tue, 17 Apr 2018 17:08:58 +0000 (+0200) Subject: discover/grub: Reverse BLS entries sorting to match Petitboot's boot order X-Git-Tag: v1.8.0~14 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=73bcd24e9a96468b81395e7f57d3568e5d1f7dd3;hp=73bcd24e9a96468b81395e7f57d3568e5d1f7dd3;ds=sidebyside discover/grub: Reverse BLS entries sorting to match Petitboot's boot order 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 Signed-off-by: Samuel Mendoza-Jonas ---