[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grub-devel
Subject:    Re: [PATCH] Allow user-defined functions to override builtins.
From:       Vladimir ' <phcoder () gmail ! 
Date:       2014-05-22 7:31:24
Message-ID: 537DA7CC.8000507 () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On 19.05.2014 08:37, Glenn Washburn wrote:
> Currently, builtin commands take precedence over user-defined
> functions.  This patch reverses that precedence, so that users can
> "override" builtin commands.  Builtin commands may be accessed by
> issuing the command prefixed by an '@' character.
> 
Overriding builtins sounds like a bad idea. For once it creates a
language which is heavily dependent on context. This gets hairy and
messy very fast.
> My motivation for this change is to hook insmod in loaded configfiles
> which set $prefix to a different location than desired.  If there are
> any changes needed to help get this functionality included, please let
> me know.
> 
Could you detail your usercase more? $prefix is the location where
modules are, why not just set it to right location?


["signature.asc" (application/pgp-signature)]

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic