Biosias / uefi-mkconfig

grub-mkconfig inspired script for automatically managing uefi entries for booting linux kernel directly without bootloader
Apache License 2.0
7 stars 3 forks source link

Duplication and boot order fix #8

Closed glorg closed 2 months ago

glorg commented 2 months ago
  1. Main issue fixed was duplication of entries for systems having more than one boot partition and more than one boot drive
  2. Second minor issue fixed - cleanup performance
  3. Forcing boot order in the way that most recent kernel (by version) gets lowest ID and thus boots first - this is required to handle some old BIOSes that ignore bootorder set by efibootmgr
  4. Performed minor cleanup
Biosias commented 2 months ago

Hello, thx for fixing them. However could you please leave only fix for duplication here? The second issue is because of a certain part of the existing code. And we cannot have one code doing it in one way and then second part changing it afterwards. Leave this fix on me.

Biosias commented 2 months ago

Do not waste time on that bootorder. Fix is trivial, just in another place. All of this can be achieved by just reversing the order in which the IDs are assigned.

Biosias commented 2 months ago

I'm on a vacation without a PC so I cannot intervene.

Biosias commented 2 months ago

Please create an issue for this. It will be much faster and will not waste time.