guix system: reconfigure: Always use "/" as GRUB's target file system.
* guix/scripts/system.scm (perform-action) <reconfigure>: Wrap 'install-grub' call in 'false-if-exception'. Always use "/" as the target.master
parent
66672a455c
commit
3942305eb1
|
@ -287,7 +287,8 @@ actions."
|
||||||
((reconfigure)
|
((reconfigure)
|
||||||
(mlet %store-monad ((% (switch-to-system os)))
|
(mlet %store-monad ((% (switch-to-system os)))
|
||||||
(when grub?
|
(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'~%")
|
(leave (_ "failed to install GRUB on device '~a'~%")
|
||||||
device)))
|
device)))
|
||||||
(return #t)))
|
(return #t)))
|
||||||
|
|
Reference in New Issue