[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grub-install for FreeBSD
From: |
Robert Millan |
Subject: |
Re: grub-install for FreeBSD |
Date: |
Thu, 24 Sep 2009 14:09:21 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
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 different commands instead. I'm not sure it's
> > the right way to handle this difference but it worked. The patch is
> > attached.
> >
> >
> We're aware of this problem. Felix Zielcke has a solution but at this
> point it's deemed too intrusive. We'll probably commit it once feature
> freeze is over
Alternatively, I could also allow a patch that checks the capabilities of
those commands. It should try readlink first, and fallback to greadlink
if necessary.
--
Robert Millan
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."