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." _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel