Why there is no api reference doc or development doc for grub2? They are not 
important to grub2 ?


> On Apr 22, 2016, at 11:17 PM, Andrei Borzenkov <[email protected]> wrote:
> 
> 23.04.2016 02:14, manik sheeri пишет:
>> Hi,
>> 
>> I have an embedded system with grub2 as the bootloader and I am
>> required to write a new command to achieve some functionality.
>> 
>> I looked at the manual and could not find any API references or
>> development manuals.
>> 
>> Is there a reference for APIs ? Also, is there a guide on how to add a
>> new command in grub2 ?
> 
> Unfortunately such documentation is missing.
> 
>> I can look at the source code of already existing commands and figure
>> out how to add one but that is time consuming and not sure if I will
>> be following correct methodology.
> 
> If you write for your own use, methodology does not really matter. If
> you intend to submit it for inclusion upstream, it will be discussed anyway.
> 
> Start with some simple command in grub-core/commands, like echo or eval.
> If you have specific questions, ask.
> 
> _______________________________________________
> Help-grub mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/help-grub
_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to