summary refs log tree commit diff
path: root/gnu/packages/bootloaders.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2017-11-06 22:51:22 +0200
committerEfraim Flashner <efraim@flashner.co.il>2017-11-06 22:54:28 +0200
commit10b159a3038a3cd1fa5bae1160da1760c5e792d6 (patch)
treef6f8f8ac62e18373828b42ea384f0e030f37aec8 /gnu/packages/bootloaders.scm
parentb1a30793477c705a136546798d8e1d27802dd4b7 (diff)
downloadguix-10b159a3038a3cd1fa5bae1160da1760c5e792d6.tar.gz
gnu: u-boot: Only install 'MLO' output if it exists.
* gnu/packages/bootloaders.scm (u-boot)[arguments]: Add 'MLO' to
uboot-files only if it has been built.
Diffstat (limited to 'gnu/packages/bootloaders.scm')
-rw-r--r--gnu/packages/bootloaders.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 2ed5e84404..f988dbc678 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -383,7 +383,7 @@ also initializes the boards (RAM etc).")
                       (libexec (string-append out "/libexec"))
                       (uboot-files (append
                                     (find-files "." ".*\\.(bin|efi|img|spl)$")
-                                    '("MLO"))))
+                                    (find-files "." "^MLO$"))))
                  (mkdir-p libexec)
                  (for-each
                   (lambda (file)