Edit menu.lst in postinst script
Free Ekanayaka
free at agnula.org
Fri Apr 21 06:37:15 UTC 2006
|--==> Otavio Salvador writes:
OS> Free Ekanayaka <free at agnula.org> writes:
>>Is there a recommended way to do this in a script?
>>
>>Maybe it would be better not to edit menu.lst directly, and implement
>>some support for modularized configuration [1] in update-grub, for
>>example having a directory
>>
>>/boot/grub/menu.lst.d/
>>
>>where other packages can drop files with chunks of configuration.
OS> Would be good if we meet and talk about the new version of update-grub
OS> and like. By new, you'll need to do some hack for it like sed or so.
OS> I'll try to find some time to write a draft of my current idea and
OS> then post it here to us discuss it.
Hi Otavio,
thanks for you answer, I'm available on IRC if you need input about
this. However I did not look into the code of update-grub, so I'm not
sure what would be needed exactly.
Cheers,
Free
More information about the Pkg-grub-devel
mailing list