[PATCH] efidebug: Introduce bootmgr command
Wolfgang Denk
wd at denx.de
Wed Feb 10 13:26:15 CET 2021
Dear Ilias,
In message <YCPJU0hIUTayLuhw at apalos.home> you wrote:
>
> The efidebug for boot options wasn't introduced that long ago and I don't
> think anyone uses it in production. If someone would want to have it backwards
> compatible, please shout and we'll see what we can do, but I'd strongly prefer
> replacing it overall. If we truly want backwards compatibility though we must keep
> efidebug, changing the name to something like 'efi debug' just for the name
> similarity wouldn't help much as it would break things regardless.
In this case, "debug" would just be a sub-command of the "efi"
command, with more sub-commands under efi (like bootmgr or such)
following, same as we did for example with "env" (where many
commands maintain backward compatibility, but here this was
necessary because these have been in use forever):
env print -> printenv
env save -> saveenv
env set -> setenv
etc.
Maybe a similar approach makes sense for "efi" (with or without
backward compatibility, as you like - after all, this is just a
little name space pollution ;-) :
efi:
efi debug
efi bootmgr
efi ...
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If you believe that feeling bad or worrying long enough will change a
past or future event, then you are residing on another planet with a
different reality system.
More information about the U-Boot
mailing list