[SLOF] [PATCH] Fix ugly boot menu if devices have been specified with bootindex
aik at ozlabs.ru
Wed Apr 26 00:04:31 AEST 2017
On 25/04/17 01:40, Thomas Huth wrote:
> 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?
What you propose may look nicer but the current situation lets me
distinguish at least some items in the boot menu (the long ones, with
bootindex), if the entire menu is all made of aliases - this I won't use at
all :) Is it just me and others find aliases useful even when a driver name
is not a part of an alias?
> 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...
More information about the SLOF