diff --git a/gnu/bootloader/u-boot.scm b/gnu/bootloader/u-boot.scm index 4c74f620007..3b20fd721d4 100644 --- a/gnu/bootloader/u-boot.scm +++ b/gnu/bootloader/u-boot.scm @@ -65,7 +65,12 @@ ((? string?) (list #~(install-file (string-append bootloader #$file) install-dir))) - ((? file-like?) (list #~(install-file #$file install-dir))) + ((? file-like?) + (list #~(mkdir-p install-dir) + #~(copy-file #$file + (string-append install-dir + "/" + #$(plain-file-name file))))) (#f '())))) #~(lambda (bootloader device mount-point) (let ((install-dir (string-append mount-point "/boot")))