guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: make-u-boot-package: Don't install "sunxi-spl-with-ecc.bin".


From: Danny Milosavljevic
Subject: 02/02: gnu: make-u-boot-package: Don't install "sunxi-spl-with-ecc.bin".
Date: Thu, 26 Jul 2018 09:55:02 -0400 (EDT)

dannym pushed a commit to branch master
in repository guix.

commit a9446dde2b4113dc88101ffef1dbfff1e12e7ce6
Author: Danny Milosavljevic <address@hidden>
Date:   Fri Jul 13 15:57:48 2018 +0200

    gnu: make-u-boot-package: Don't install "sunxi-spl-with-ecc.bin".
    
    * gnu/packages/bootloaders.scm (make-u-boot-package)[arguments]<#:phases>
    [install]: Don't install "sunxi-spl-with-ecc.bin".
---
 gnu/packages/bootloaders.scm | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 792fc4a..de85ead 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -508,7 +508,18 @@ board-independent tools.")))
                (let* ((out (assoc-ref outputs "out"))
                       (libexec (string-append out "/libexec"))
                       (uboot-files (append
-                                    (find-files "." 
".*\\.(bin|efi|img|spl|itb|dtb|rksd)$")
+                                    (remove
+                                     ;; Those would not be reproducible
+                                     ;; because of the randomness used
+                                     ;; to produce them.
+                                     ;; It's expected that the user will
+                                     ;; use u-boot-tools to generate them
+                                     ;; instead.
+                                     (lambda (name)
+                                       (string-suffix?
+                                        "sunxi-spl-with-ecc.bin"
+                                        name))
+                                     (find-files "." 
".*\\.(bin|efi|img|spl|itb|dtb|rksd)$"))
                                     (find-files "." "^(MLO|SPL)$"))))
                  (mkdir-p libexec)
                  (install-file ".config" libexec)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]