Re: boot directory prefix in grub-install (even with --root-directory)

2009-12-24 Thread Robert Millan
On Tue, Dec 22, 2009 at 01:18:42PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Grégoire Sutre wrote: > > Hi, > > > > grub-install copies GRUB images into ${rootdir}/boot/grub (where > > ${rootdir} is empty by default and can be changed with --root-directory). > > > > To install GRUB file

Re: boot directory prefix in grub-install (even with --root-directory)

2009-12-24 Thread Robert Millan
On Tue, Dec 22, 2009 at 12:53:46PM +0100, Grégoire Sutre wrote: > The problem arises e.g. with NetBSD which uses /boot for its own > bootloader. The script util/grub-install.in contains lines to take care > of that situation (lines 160-172), but these lines rely on a variable > ${host_os} th

Re: boot directory prefix in grub-install (even with --root-directory)

2009-12-22 Thread Grégoire Sutre
Vladimir 'φ-coder/phcoder' Serbinenko wrote: The main problem is with scripts already using --root-directory and relying on existing behaviour. Yes, you're right. I propose add a new option --grub-directory=DIR which defaults to ROOTDIR/boot/grub What do you think about this? Nice, I'm loo

Re: boot directory prefix in grub-install (even with --root-directory)

2009-12-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Grégoire Sutre wrote: > Hi, > > grub-install copies GRUB images into ${rootdir}/boot/grub (where > ${rootdir} is empty by default and can be changed with --root-directory). > > To install GRUB files on a partition that contains a /boot file, one > must specify a non-empty --root-directory, and grub