gnu: grub: Fix use of mdadm.

Before this change, the filename used ended with sbin/mdadm/sbin/mdadm.

* gnu/packages/bootloaders.scm (grub)[arguments]: Fix the use of mdadm.

Change-Id: I911d729eb35034502715c48cdd2159aecf48d22e
This commit is contained in:
Christopher Baines 2024-07-01 17:17:21 +02:00
parent ddce6b2303
commit 770659059b
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577

View File

@ -153,7 +153,7 @@
(when mdadm
(substitute* "grub-core/osdep/linux/getroot.c"
(("argv\\[0\\] = \"mdadm\"")
(string-append "argv[0] = \"" mdadm "/sbin/mdadm\"")))))
(string-append "argv[0] = \"" mdadm "\"")))))
;; Make the font visible.
(copy-file #+unifont "unifont.bdf.gz")