Re: Multiple kernel boot in linuxboot.cfg

David Pye <[email protected]>
Newsgroups gmane.linux.ports.xbox.devel
Message-ID <[email protected]>
On Wednesday 22 September 2004 17:47, [email protected] wrote:
> > The linuxboot.cfg 'parser' needs upgrading to handle multiple
> > kernel/initrd
> > combos, but there's no huge obstacle to this work. If anyone is
> > interested in
> > helping with this, do let me know, and I'll be happy to give some
> > pointers.
>
> Well... if nobody objects, I could do this. Time is tights as usual, but a
> little lilo-like parser will be very quick to implement.

Well, the parser itself exists, but it hands back a single config entry. What 
it should do is return a linked list of config entries, and the calling 
function can take care of creating an icon menu entry (and caption) for 
these.

There also needs to be a way to mark the default entry. (The parser could just 
return the default entry first of all).

> Where do I get the "redone" version? 

CVS - check out the latest anoncvs and look in boot/IconMenu.c

> I can also use a quick sample on how 
> to add an item to the new menu structure at runtime.

See how the other icon menu entries are populated - they are done at runtime 
too :) 

Please send me the patch, when you've done this, or attach it to the list, and 
I'll have a dig at it.

Cheers,

David

>
> DaveXXX
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> _______________________________________________
> Xbox-linux-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xbox-linux-devel

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s-: a-- C++ UL++++ P L+++ E--- W++ N+ o+ K- w---
O M V- PS+ PE+ Y+ PGP t 5- X+ R- tv+ b+ DI++ D+
G+ e++ h--- r++ y++
------END GEEK CODE BLOCK------


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.