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>
This commit is contained in:
Rutherther 2025-12-11 17:53:18 +01:00
parent 6935e6c51d
commit e3c33d9ab4
No known key found for this signature in database
GPG key ID: 0322798269E471C3

View file

@ -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.