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?
David
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev