I am not qualified enough to know the best way to do this. I thought
of two possible ways to do this. I am not sure if these are feasible
either. Just my input to this problem:

1) The version of update-grub beloning to grub would only touch the
part of the menu.lst file which was within "### BEGIN AUTOMATIC
KERNELS LIST" and "### END DEBIAN AUTOMATIC KERNELS LIST". Have
update-grub of grub2 also use similar markers to add from the hooks
present in /etc/grub.d/

2) The other option is that d-i can create a hook into /etc/grub.d/
with a script to add other OSes that have been detected. This will
solve the problem of all update-grub modifying grub.cfg and causing
problems as when a person installs a new kernel or anything
update-grub is called. This would solve the problem.

Just my 2 cents.

Regards,

Bharath



On 5/11/07, Otavio Salvador <[EMAIL PROTECTED]> wrote:
Robert Millan <[EMAIL PROTECTED]> writes:

> On Fri, May 11, 2007 at 11:07:11AM -0300, Otavio Salvador wrote:
<...>
>> I think this user _upgraded_ the package and then it wasn't handled by
>> d-i anymore.
>
> What I mean is that the important is getting d-i to support this.  For
> supporting non-Debian OSes in upgrades, I think it's best to add a note so
> that user does it manualy or something.  If we try to convert them, I'm sure
> we'll find lots of bugs in the conversion code :-/
>
>> > We still could try to add some migration code though.  Or maybe an 
explanatory
>> > note?
>>
>> I think it might be better otherwise people will start to hate us ;-)
>
> Yeah.. hehe.  Do you think a note is enough?

I'm not sure how difficult might be to write a parser to port
it. It's a start, at least...

--
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: [EMAIL PROTECTED]      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
 you the whole house."



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to