Re: grub-install for FreeBSD

2009-09-24 Thread Brian R. Jones
Robert Millan wrote: On Thu, Sep 24, 2009 at 11:01:16AM -0700, Brian R. Jones wrote: Not sure if Felix's patch covers it, but there is also a problem with the 'sed' syntax in 10_freebsd and 30_os-prober. It turns out that freebsd 'sed' is quite retarded (at least in 7.2) and doesn't know that

Re: grub-install for FreeBSD

2009-09-24 Thread Robert Millan
On Thu, Sep 24, 2009 at 11:01:16AM -0700, Brian R. Jones wrote: > Not sure if Felix's patch covers it, but there is also a problem with the > 'sed' syntax in 10_freebsd and 30_os-prober. It turns out that freebsd > 'sed' is quite retarded (at least in 7.2) and doesn't know that '\t' is > supp

Re: grub-install for FreeBSD

2009-09-24 Thread Brian R. Jones
Colin Watson wrote: On Thu, Sep 24, 2009 at 11:01:16AM -0700, Brian R. Jones wrote: Not sure if Felix's patch covers it, but there is also a problem with the 'sed' syntax in 10_freebsd and 30_os-prober. It turns out that freebsd 'sed' is quite retarded (at least in 7.2) and doesn't know that

Re: grub-install for FreeBSD

2009-09-24 Thread Colin Watson
On Thu, Sep 24, 2009 at 11:01:16AM -0700, Brian R. Jones wrote: > Not sure if Felix's patch covers it, but there is also a problem with the > 'sed' syntax in 10_freebsd and 30_os-prober. It turns out that freebsd > 'sed' is quite retarded (at least in 7.2) and doesn't know that '\t' is > supp

Re: grub-install for FreeBSD

2009-09-24 Thread Felix Zielcke
Am Donnerstag, den 24.09.2009, 11:01 -0700 schrieb Brian R. Jones: > Robert Millan wrote: > > On Wed, Sep 23, 2009 at 08:36:01AM +0200, Vladimir 'phcoder' Serbinenko > > wrote: > >> Andrey Shuvikov wrote: > >>> Hello, > >>> > >>> I tried to install Grub2 under FreeBSD but grub-install failed becau

Re: grub-install for FreeBSD

2009-09-24 Thread Brian R. Jones
Robert Millan wrote: On Wed, Sep 23, 2009 at 08:36:01AM +0200, Vladimir 'phcoder' Serbinenko wrote: Andrey Shuvikov wrote: Hello, I tried to install Grub2 under FreeBSD but grub-install failed because readlink doesn't understand -f and stat doesn't have -c. I edited grub-mkconfig_lib.in to u

Re: grub-install for FreeBSD

2009-09-24 Thread Robert Millan
On Wed, Sep 23, 2009 at 08:36:01AM +0200, Vladimir 'phcoder' Serbinenko wrote: > Andrey Shuvikov wrote: > > Hello, > > > > I tried to install Grub2 under FreeBSD but grub-install failed because > > readlink doesn't understand -f and stat doesn't have -c. I edited > > grub-mkconfig_lib.in to use d

Re: grub-install for FreeBSD

2009-09-22 Thread Vladimir 'phcoder' Serbinenko
Andrey Shuvikov wrote: > Hello, > > I tried to install Grub2 under FreeBSD but grub-install failed because > readlink doesn't understand -f and stat doesn't have -c. I edited > grub-mkconfig_lib.in to use different commands instead. I'm not sure it's the > right way to handle this difference but

Re: grub-install for FreeBSD

2009-09-22 Thread Seth Goldberg
Hi, Quoting Andrey Shuvikov, who wrote the following on Tue, 22 Sep 2009: Hello, I tried to install Grub2 under FreeBSD but grub-install failed because readlink doesn't understand -f and stat doesn't have -c. I edited grub-mkconfig_lib.in to use different commands instead. I'm not sure it's

grub-install for FreeBSD

2009-09-22 Thread Andrey Shuvikov
Hello, I tried to install Grub2 under FreeBSD but grub-install failed because readlink doesn't understand -f and stat doesn't have -c. I edited grub-mkconfig_lib.in to use different commands instead. I'm not sure it's the right way to handle this difference but it worked. The patch is attached.