summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Lassieur <clement@lassieur.org>2026-03-21 16:50:47 +0100
committerCayetano Santos <csantosb@inventati.org>2026-03-22 19:25:30 +0100
commitceaf5a2a97bcdd078e41e07bcec3abf4f1406d49 (patch)
treec92c06cac8be0d261ff485a86794f71913d5ee73
parent826fe371cd0208896bb9555bdc59c8e8f80c21b0 (diff)
gnu: genimage: Update to 19.
* gnu/packages/flashing-tools.scm (genimage): Update to 19. [arguments]: Remove the ‘disable-failing-tests’ phase. Merges guix/guix!7379 Change-Id: I09924f87091d3de81e73654c908b994e55facf14 Signed-off-by: Cayetano Santos <csantosb@inventati.org>
-rw-r--r--gnu/packages/flashing-tools.scm23
1 files changed, 5 insertions, 18 deletions
diff --git a/gnu/packages/flashing-tools.scm b/gnu/packages/flashing-tools.scm
index 32be230c561..e77cabe0723 100644
--- a/gnu/packages/flashing-tools.scm
+++ b/gnu/packages/flashing-tools.scm
@@ -23,6 +23,7 @@
;;; Copyright © 2021 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2025 Ashish SHUKLA <ashish.is@lostca.se>
;;; Copyright © 2026 Cayetano Santos <csantosb@inventati.org>
+;;; Copyright © 2026 Clément Lassieur <clement@lassieur.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -257,21 +258,19 @@ firmware from it.")
(license license:gpl2+)))
(define-public genimage
- (let ((commit "00009af6e29cfd46909bc8b4180147dda9f82ba8")
- (revision "0"))
(package
(name "genimage")
- (version (git-version "18" revision commit))
+ (version "19")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/pengutronix/genimage")
- (commit commit)))
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
- "1mijyq79cb0yj4jm9ln9smpddq1f6r8cnsa568qca0krcv0p3zag"))))
+ "1n2d4sziq190saa71ms15h0fbk171kqig1jc6kw35pqs4288pnc5"))))
(build-system gnu-build-system)
(arguments
`(#:modules
@@ -305,18 +304,6 @@ firmware from it.")
(substitute* "util.c"
(("\"/bin/sh\"")
(string-append "\"" (assoc-ref inputs "bash") "/bin/sh\"")))))
- (add-before 'check 'disable-failing-tests
- (lambda _
- ;; We don't have /etc/passwd so uid 0 is not known as "root".
- ;; Thus patch it out.
- (substitute* '("test/flash.test")
- (("test_expect_success \"flash\"")
- "test_expect_fail \"flash\""))
- (substitute* '("test/hdimage.test")
- (("test_expect_success fdisk,sfdisk \"hdimage\"")
- "test_expect_fail fdisk,sfdisk \"hdimage\"")
- (("test_expect_success hexdump \"hdimage no-partition\"")
- "test_expect_fail hexdump \"hdimage no-partition\""))))
(add-before 'check 'fix-failing-tests
(lambda _
;; We don't have /etc/passwd so uid 0 is not known as "root".
@@ -366,7 +353,7 @@ firmware from it.")
(description "@command{genimage} creates Flash images according to a
specification file.")
(home-page "https://github.com/pengutronix/genimage")
- (license license:gpl2))))
+ (license license:gpl2)))
(define-public teensy-loader-cli
(package