~ruther/guix-local

1b1b3040119e081065fc05dbf41b0a22538cdbed — Efraim Flashner 1 year, 2 months ago 2bc34ac
bootloader/grub: Create grub background image with ungrafted inputs.

This fixes bug https://issues.guix.gnu.org/75510.

* gnu/bootloader/grub.scm (image->png): Create the grub-image using
ungrafted inputs.

Change-Id: Ia23dd081d9711c703b7bf795dc376e024bb5caff
1 files changed, 6 insertions(+), 1 deletions(-)

M gnu/bootloader/grub.scm
M gnu/bootloader/grub.scm => gnu/bootloader/grub.scm +6 -1
@@ 140,7 140,12 @@ Otherwise the picture in IMAGE is just copied."
                             (svg->png #+image #$output
                                       #:width #$width
                                       #:height #$height))
                           (copy-file #+image #$output))))))
                           (copy-file #+image #$output))))
                 ;; Work around a bug in grafts where different versions of
                 ;; guile-cairo are loaded from (gnu build svg).
                 ;; As seen in https://issues.guix.gnu.org/47115#23 and
                 ;; in https://issues.guix.gnu.org/75510.
                 #:options '(#:graft? #f)))

(define* (grub-background-image config)
  "Return the GRUB background image defined in CONFIG or #f if none was found.