me
/
guix
Archived
1
0
Fork 0

gnu: mdadm: Update to 4.2.

* gnu/packages/linux.scm (mdadm): Update to 4.2.
[arguments]: Don't explicitly return #t from phases.
master
Tobias Geerinckx-Rice 2022-01-05 06:09:51 +01:00
parent 3aa3aea2b0
commit 3d7a1b84c5
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 4 additions and 6 deletions

View File

@ -5022,7 +5022,7 @@ MPEG-2 and audio over Linux IEEE 1394.")
(define-public mdadm (define-public mdadm
(package (package
(name "mdadm") (name "mdadm")
(version "4.1") (version "4.2")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
@ -5030,7 +5030,7 @@ MPEG-2 and audio over Linux IEEE 1394.")
version ".tar.xz")) version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0jjgjgqijpdp7ijh8slzzjjw690kydb1jjadf0x5ilq85628hxmb")))) "07ghmibmbnkdy91ng87zdllzicm299l20dhs9m5bfjw6f1b22726"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("udev" ,eudev))) `(("udev" ,eudev)))
@ -5052,15 +5052,13 @@ MPEG-2 and audio over Linux IEEE 1394.")
"coreutils"))) "coreutils")))
(substitute* "udev-md-raid-arrays.rules" (substitute* "udev-md-raid-arrays.rules"
(("/usr/bin/(readlink|basename)" all program) (("/usr/bin/(readlink|basename)" all program)
(string-append coreutils "/bin/" program)))) (string-append coreutils "/bin/" program))))))
#t))
(add-before 'build 'remove-W-error (add-before 'build 'remove-W-error
(lambda _ (lambda _
;; We cannot build with -Werror on i686 due to a ;; We cannot build with -Werror on i686 due to a
;; 'sign-compare' warning in util.c. ;; 'sign-compare' warning in util.c.
(substitute* "Makefile" (substitute* "Makefile"
(("-Werror") "")) (("-Werror") ""))))
#t))
(delete 'configure)) (delete 'configure))
;;tests must be done as root ;;tests must be done as root
#:tests? #f)) #:tests? #f))