From 3942305eb1a078da9e87534cbd3601097bed36c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 14 Jul 2014 16:14:15 +0200 Subject: guix system: reconfigure: Always use "/" as GRUB's target file system. * guix/scripts/system.scm (perform-action) : Wrap 'install-grub' call in 'false-if-exception'. Always use "/" as the target. --- guix/scripts/system.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm index be726e2125..10bf7e0c96 100644 --- a/guix/scripts/system.scm +++ b/guix/scripts/system.scm @@ -287,7 +287,8 @@ actions." ((reconfigure) (mlet %store-monad ((% (switch-to-system os))) (when grub? - (unless (install-grub grub.cfg device target) + (unless (false-if-exception + (install-grub grub.cfg device "/")) (leave (_ "failed to install GRUB on device '~a'~%") device))) (return #t))) -- cgit v1.2.3