mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
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.
This commit is contained in:
parent
66672a455c
commit
3942305eb1
1 changed files with 2 additions and 1 deletions
|
@ -287,7 +287,8 @@ (define* (perform-action action os
|
|||
((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)))
|
||||
|
|
Loading…
Reference in a new issue