~ruther/guix-local

e3c33d9ab4c88c704376793346930172cef7beb4 — Rutherther 2 months ago 6935e6c
image: esp32-partition/grub: Pass root to initialize-efi32-partition.

Follow up of: ca0ed91b40 where the root argument has been omitted.
This leads to an error, because initialize-efi32-partition expects
`root` as first argument, while `#:grub-efi32` was given.
Fixes: #4634.

* gnu/system/image.scm (esp32-partition/grub): Pass 'root' as first argument
to initialize-efi32-partition.

Change-Id: Ia839f40444304c229aef33e996c66c8209e42dda
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
1 files changed, 1 insertions(+), 1 deletions(-)

M gnu/system/image.scm
M gnu/system/image.scm => gnu/system/image.scm +1 -1
@@ 145,7 145,7 @@ parent image record."
  (partition
    (inherit esp-partition/grub)
    (initializer #~(lambda* (root #:key #:allow-other-keys)
                     (initialize-efi32-partition #:grub-efi32 #+grub-efi32)))))
                     (initialize-efi32-partition root #:grub-efi32 #+grub-efi32)))))

;; Be more transparent. The esp partition unconditinally installs grub.
;; It doesn't look up bootloader of the system.