civodul pushed a commit to branch master in repository guix. commit 12890e2412b4f16e1796366b46ce82f927dc8e98 Author: Denis 'GNUtoo' Carikli <gnu...@cyberdimension.org> AuthorDate: Thu Jan 2 20:54:13 2025 +0100
gnu: Add grub-emu. * gnu/packages/bootloaders.scm (grub-emu): New variable. Change-Id: Ia70246841e612b1fe1cb70001b9a6420cb7a63ea Signed-off-by: Ludovic Courtès <l...@gnu.org> --- gnu/packages/bootloaders.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index 4dab7bd0b7..01497678cd 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -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