GNU bug report logs -
#27695
[PATCH 0/2] Introduce grub hybrid bootloader and use it.
Previous Next
Full log
View this message in rfc822 format
Hi,
Danny Milosavljevic <dannym <at> scratchpost.org> skribis:
> * gnu/packages/bootloaders.scm (grub-hybrid): New variable.
> * gnu/bootloader/grub.scm (grub-hybrid-bootloader): New variable.
[...]
> +(define-public grub-hybrid
> + (package
> + (inherit grub-efi)
> + (name "grub-hybrid")
> + (synopsis "GRand Unified Boot loader (Hybrid version)")
^
Lower-case please.
> + (native-inputs
> + `(("grub" ,grub)
> + ,@(package-native-inputs grub-efi)))
> + (arguments
> + (substitute-keyword-arguments (package-arguments grub-efi)
> + ((#:phases phases)
> + `(modify-phases ,phases
> + (add-after 'install 'install-non-efi
> + (lambda* (#:key inputs outputs #:allow-other-keys)
> + (copy-recursively (string-append (assoc-ref inputs "grub")
> + "/lib/grub/i386-pc")
> + (string-append (assoc-ref outputs "out")
> + "/lib/grub/i386-pc"))
> + #t))))))))
Is it really all it takes to make a GRUB that can do both BIOS and UEFI?
I wonder why GRUB upstream doesn’t do it by default. Do you think we
should discuss it with them?
If that works, we might just as well make it the new “grub” package and
remove “grub-efi”. Or is there any downside?
Thanks,
Ludo’.
This bug report was last modified 7 years and 152 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.