[PATCH] bootloaders: uboot: Add .img and MLO files to binary outputs.

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Mathieu Othacehe
Owner
unassigned
Submitted by
Mathieu Othacehe
Severity
normal
M
M
Mathieu Othacehe wrote on 3 Nov 2017 15:19
(address . guix-patches@gnu.org)(name . Mathieu Othacehe)(address . m.othacehe@gmail.com)
1509718757-31610-1-git-send-email-m.othacehe@gmail.com
* gnu/packages/bootloaders.scm (make-u-boot-package): Add .img and MLO files
as binary output.
---
gnu/packages/bootloaders.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

Toggle diff (17 lines)
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 613537a..be3ea18 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -375,7 +375,9 @@ also initializes the boards (RAM etc).")
(lambda* (#:key outputs make-flags #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(libexec (string-append out "/libexec"))
- (uboot-files (find-files "." ".*\\.(bin|efi|spl)$")))
+ (uboot-files (append
+ (find-files "." ".*\\.(bin|efi|img|spl)$")
+ '("MLO"))))
(mkdir-p libexec)
(for-each
(lambda (file)
--
2.7.4
L
L
Ludovic Courtès wrote on 5 Nov 2017 21:51
(name . Mathieu Othacehe)(address . m.othacehe@gmail.com)(address . 29134@debbugs.gnu.org)
87375so3dz.fsf@gnu.org
Mathieu Othacehe <m.othacehe@gmail.com> skribis:

Toggle quote (3 lines)
> * gnu/packages/bootloaders.scm (make-u-boot-package): Add .img and MLO files
> as binary output.

I’m not familiar with this but I trust you.

Thanks,
Ludo’.
M
M
Mathieu Othacehe wrote on 6 Nov 2017 19:59
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 29134@debbugs.gnu.org)
87o9ofmdwn.fsf@gmail.com
Toggle quote (2 lines)
> I’m not familiar with this but I trust you.

Thank you, pushed as dd208b936cb5618ae34bf2df416bf2c0c3a049c3.
M
M
Mathieu Othacehe wrote on 6 Nov 2017 20:04
control message for bug #29134
(address . control@debbugs.gnu.org)
87k1z3mdns.fsf@gmail.com
tags 29134 fixed
close 29134
?