mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add grub-emu.
* gnu/packages/bootloaders.scm (grub-emu): New variable. Change-Id: Ia70246841e612b1fe1cb70001b9a6420cb7a63ea Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
d17cd107f5
commit
12890e2412
1 changed files with 9 additions and 0 deletions
|
@ -475,6 +475,15 @@ menu to select one of the installed operating systems.")
|
|||
(cross-binutils "arm-linux-gnueabihf")))
|
||||
(package-native-inputs grub-efi)))))
|
||||
|
||||
(define-public grub-emu
|
||||
(package/inherit grub
|
||||
(name "grub-emu")
|
||||
(synopsis "GRand Unified Boot loader (Emu version)")
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments grub)
|
||||
((#:configure-flags flags #~'())
|
||||
#~(cons* "--with-platform=emu" #$flags))))))
|
||||
|
||||
;; Because grub searches hardcoded paths it's easiest to just build grub
|
||||
;; again to make it find both grub-pc and grub-efi. There is a command
|
||||
;; line argument which allows you to specify ONE platform - but
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue