From 3afbc6b3c3a78dddbb92651854bc0c8574078cdc Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Mon, 3 Oct 2016 03:57:53 -0400 Subject: gnu: lvm2: Use 'modify-phases'. * gnu/packages/linux.scm (lvm2)[arguments]: Use 'modify-phases'. --- gnu/packages/linux.scm | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'gnu/packages/linux.scm') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 52c7c7d027..66583dd253 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1661,16 +1661,17 @@ time.") (inputs `(("udev" ,eudev))) (arguments - '(#:phases (alist-cons-after - 'configure 'set-makefile-shell - (lambda _ - ;; Use 'sh', not 'bash', so that '. lib/utils.sh' works as - ;; expected. - (setenv "SHELL" (which "sh")) + '(#:phases + (modify-phases %standard-phases + (add-after 'configure 'set-makefile-shell + (lambda _ + ;; Use 'sh', not 'bash', so that '. lib/utils.sh' works as + ;; expected. + (setenv "SHELL" (which "sh")) - ;; Replace /bin/sh with the right file name. - (patch-makefile-SHELL "make.tmpl")) - %standard-phases) + ;; Replace /bin/sh with the right file name. + (patch-makefile-SHELL "make.tmpl") + #t))) #:configure-flags (list (string-append "--sysconfdir=" (assoc-ref %outputs "out") -- cgit 1.4.1 From 123c0ffb87b0e921bc0e4fc4c46aec9439a7b538 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Mon, 3 Oct 2016 04:00:12 -0400 Subject: gnu: lvm2: Update to 2.02.166. * gnu/packages/linux.scm (lvm2): Update to 2.02.166. --- gnu/packages/linux.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/linux.scm') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 66583dd253..431e73dcf9 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1635,14 +1635,14 @@ time.") (define-public lvm2 (package (name "lvm2") - (version "2.02.109") + (version "2.02.166") (source (origin (method url-fetch) (uri (string-append "ftp://sources.redhat.com/pub/lvm2/releases/LVM2." version ".tgz")) (sha256 (base32 - "1rv5ivg0l1w3nwzwdkqixm96h5bzg7ib4rr196ysb2lw42jmpjbv")) + "150v0mawd2swdvypcmkjd3h3s4n5i1220h6sxx94a8jvp1kb0871")) (modules '((guix build utils))) (snippet '(begin -- cgit 1.4.1 From 7ca97fae366b5ac8324a774d8aa09c2a36348666 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Mon, 3 Oct 2016 04:26:17 -0400 Subject: gnu: lvm2: Make sure compiled objects are stripped. * gnu/packages/linux.scm (lvm2)[arguments]: Add 'make-objects-writeable' phase. --- gnu/packages/linux.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'gnu/packages/linux.scm') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 431e73dcf9..0e9fab25ee 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1671,7 +1671,17 @@ time.") ;; Replace /bin/sh with the right file name. (patch-makefile-SHELL "make.tmpl") - #t))) + #t)) + (add-before 'strip 'make-objects-writable + (lambda* (#:key outputs #:allow-other-keys) + ;; Make compiled objects writable so they can be stripped. + (let ((out (assoc-ref outputs "out"))) + (for-each (lambda (file) + (chmod file #o755)) + (append + (find-files (string-append out "/lib")) + (find-files (string-append out "/sbin")))) + #t)))) #:configure-flags (list (string-append "--sysconfdir=" (assoc-ref %outputs "out") -- cgit 1.4.1 From ca86791881e7ec9c62266867250fe52824eb93b4 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Sat, 8 Oct 2016 11:32:37 -0400 Subject: gnu: linux-libre@4.4: Update to 4.4.24. * gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.24. --- gnu/packages/linux.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/linux.scm') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 0e9fab25ee..23ae3e41c8 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -328,8 +328,8 @@ It has been modified to remove all non-free binary blobs.") #:configuration-file kernel-config)) (define-public linux-libre-4.4 - (make-linux-libre "4.4.23" - "07akixpxlcrpfsadnppyk2hbggqf7j2hzlkg56k0yh3dhyglxv86" + (make-linux-libre "4.4.24" + "1wg1d9rq29612psr5v4krabx7nv1y1gzfshq7wpx6i1lpqf3lill" %intel-compatible-systems #:configuration-file kernel-config)) -- cgit 1.4.1 From cb60e975c26f05ac9c1e8fd6031253381d7b6ad4 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Sat, 8 Oct 2016 11:34:13 -0400 Subject: gnu: linux-libre: Update to 4.8.1. * gnu/packages/linux.scm (linux-libre): Update to 4.8.1. (%linux-libre-version, %linux-libre-hash): Update to 4.8.1. --- gnu/packages/linux.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gnu/packages/linux.scm') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 23ae3e41c8..1528f1f4bd 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -322,8 +322,8 @@ It has been modified to remove all non-free binary blobs.") (define %intel-compatible-systems '("x86_64-linux" "i686-linux")) (define-public linux-libre - (make-linux-libre "4.8" - "0fnax2qb597zg2gchab9n9fn7551vccmqfcvq5k3ckz24y50yknm" + (make-linux-libre "4.8.1" + "0l57ab8v52nvx4d898qfvkl7c6zlrm7qd080z6jg0bg0adn4w5lf" %intel-compatible-systems #:configuration-file kernel-config)) @@ -340,8 +340,8 @@ It has been modified to remove all non-free binary blobs.") #:configuration-file kernel-config)) ;; Avoid rebuilding kernel variants when there is a minor version bump. -(define %linux-libre-version "4.7.6") -(define %linux-libre-hash "0716lpzq3w2pdc0nrrx06gqzdfzhkrjq7g37v4ws9wjlzak8hkvy") +(define %linux-libre-version "4.8.1") +(define %linux-libre-hash "0l57ab8v52nvx4d898qfvkl7c6zlrm7qd080z6jg0bg0adn4w5lf") (define-public linux-libre-arm-generic (make-linux-libre %linux-libre-version -- cgit 1.4.1 From 0c60cc5346684338120b08d21c7f570af16d3311 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Thu, 1 Sep 2016 14:33:57 +0200 Subject: gnu: Add mtd-utils. * gnu/packages/linux.scm (mtd-utils): New variable. Signed-off-by: Leo Famulari Signed-off-by: Efraim Flashner --- gnu/packages/linux.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'gnu/packages/linux.scm') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 1528f1f4bd..9fa306d17e 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -33,6 +33,7 @@ (define-module (gnu packages linux) #:use-module (gnu packages) + #:use-module (gnu packages acl) #:use-module (gnu packages admin) #:use-module (gnu packages algebra) #:use-module (gnu packages attr) @@ -2985,3 +2986,35 @@ and other hardware errors on x86 systems. It can also perform user-defined tasks, such as bringing bad pages off-line, when configurable error thresholds are exceeded.") (license license:gpl2))) + +(define-public mtd-utils + (package + (name "mtd-utils") + (version "1.5.2") + (source (origin + (method url-fetch) + (uri (string-append + "ftp://ftp.infradead.org/pub/mtd-utils/" + "mtd-utils-" version ".tar.bz2")) + (sha256 + (base32 + "007lhsd8yb34l899r4m37whhzdw815cz4fnjbpnblfha524p7dax")))) + (inputs + `(("acl" ,acl) + ("libuuid" ,util-linux) + ("lzo", lzo) + ("zlib" ,zlib))) + (build-system gnu-build-system) + (arguments + `(#:test-target "tests" + #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) + #:phases (modify-phases %standard-phases + (delete 'configure)))) + (synopsis "MTD Flash Storage Utilities") + (description "This package provides utilities for testing, partitioning, etc +of flash storage.") + (home-page "http://www.linux-mtd.infradead.org/") + (license + (list license:gpl2 ; Almost everything is gpl2 or gpl2+ + license:mpl1.1 ; All ftl* files + license:expat)))) ; libiniparser -- cgit 1.4.1