grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DISCUSSION] Scripts and menus


From: Vladimir Serbinenko
Subject: Re: [DISCUSSION] Scripts and menus
Date: Sun, 14 Aug 2005 20:30:15 +0200
User-agent: Mozilla Thunderbird 1.0.2-1.3.2 (X11/20050324)

Ok. At this moment I have one thing to do that will be approximately
finished
on Thursday and then I'll do it (on next Monday I suppose my assignment
will be finished)

Is it ok to create bison parser that will parse command by command and
create a pseudocode at output that can be easily executed?

Yoshinori K. Okuji wrote:

>On Sunday 14 August 2005 18:03, Vladimir Serbinenko wrote:
>  
>
>>It's only a question of syntax so it's ok but IMHO 2 points are important:
>>    1) It must be possible to set additional attributes to a menu entry
>>    
>>
>
>I'd like to use options for these. Like this:
>
>entry --label="gnu" --key="g" "GNU 0.3" {
>  root=(hd0,0)
>  multiboot /gnumach
>  module /serverboot
>}
>
>  
>
>>    2) It must be possible to create functions that are *not* the menu
>>entries
>>    
>>
>
>They should be the same as Bash:
>
>function load_modules {
>  module /boot/module1
>  module /boot/module2
>}
>
>entry "My OS version 1" {
>  multiboot /boot/kernel-1
>  load_modules
>}
>
>entry "My OS version 2" {
>  multiboot /boot/kernel-2
>  load_modules
>}
>
>Okuji
>
>
>_______________________________________________
>Grub-devel mailing list
>address@hidden
>http://lists.gnu.org/mailman/listinfo/grub-devel
>
>  
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]