[Nix-dev] Re: [Nix-commits] SVN commit: nix - 22294 - viric - nixos/trunk/modules/installer/grub
Lluís Batlle i Rossell
viriketo at gmail.com
Wed Jun 16 17:18:15 CEST 2010
On Wed, Jun 16, 2010 at 07:54:30AM -0700, David Brown wrote:
> On Wed, Jun 16, 2010 at 01:58:15PM +0000, Llus Batlle wrote:
> ># the GRUB config file must be relative to the root of the /boot
> ># filesystem. `$bootRoot' is the path to be prepended to paths under
> ># /boot.
> >-if [ "$(stat -f -c '%i' /)" = "$(stat -f -c '%i' /boot)" ]; then
> >+if [ "$(stat -f -c '%D' /)" = "$(stat -f -c '%D' /boot)" ]; then
> > bootRoot=/boot
> > copyKernels="@copyKernels@" # user can override in the NixOS config
> >else
>
> For me, "stat -f -c '%D' /", seems to just print a single question
> mark. Did you mean to also remove the '-f' option?
Exactly. Thank you! Good that someone pays attention. :)
More information about the nix-dev
mailing list