diff options
Diffstat (limited to 'gnu/bootloader')
| -rw-r--r-- | gnu/bootloader/u-boot.scm | 7 |
1 files changed, 6 insertions, 1 deletions
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"))) |
