[SLOF] [PATCH] Fix ugly boot menu if devices have been specified with bootindex

Thomas Huth thuth at redhat.com
Tue Apr 25 01:40:30 AEST 2017


On 11.04.2017 09:18, Alexey Kardashevskiy wrote:
[...]
> In order to fix the initial bugreport, may be it could make sense to
> create aliases such as "bootindexN" for all devices with a valid bootindex
> property... Although I am not sure it is worth the effort and there will be
> users for it, ever.

bootindex aliases also sound quite ugly to me, and this way we still
display devices twice, one time the "bootindex" version and one time the
version that SLOF auto-detected during boot.

Assuming that we still want to fix the boot menu somehow, I think we
should rather ignore the $bootdev list here and simply show all devices
instead that SLOF detected during boot, i.e. walk the cdromX, diskX and
netX aliases here instead. Does that also sound OK to you? If so, I can
work on a patch ... maybe also converting the menu code to C instead,
since maintaining such boot lists in Forth is somewhat cumbersome...

 Thomas



More information about the SLOF mailing list