mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
Fix bug where the extra menu entries for a bootloader were shown twice.
The extra menu entries are already being added in each bootloaders, as applicable. * guix/scripts/system.scm (reinstall-bootloader)[entries]: Don't extraneously include bootloader-configuration-menu-entries here. Change-Id: I8a600f2a5836ab4f7db5e27e25b0b8f432c3e1e0
This commit is contained in:
parent
f321a5022d
commit
8db7a8f1e2
1 changed files with 1 additions and 2 deletions
|
@ -412,8 +412,7 @@ (define (reinstall-bootloader store number)
|
||||||
(delv number (reverse (generation-numbers %system-profile))))
|
(delv number (reverse (generation-numbers %system-profile))))
|
||||||
(old-params (profile-boot-parameters
|
(old-params (profile-boot-parameters
|
||||||
%system-profile old-generations))
|
%system-profile old-generations))
|
||||||
(entries (cons (boot-parameters->menu-entry params)
|
(entries (list (boot-parameters->menu-entry params)))
|
||||||
(boot-parameters-bootloader-menu-entries params)))
|
|
||||||
(old-entries (map boot-parameters->menu-entry old-params)))
|
(old-entries (map boot-parameters->menu-entry old-params)))
|
||||||
(run-with-store store
|
(run-with-store store
|
||||||
(mlet* %store-monad
|
(mlet* %store-monad
|
||||||
|
|
Loading…
Reference in a new issue