gnu: lvm2: Remove obsolete phase.

* gnu/packages/linux.scm (lvm2)[arguments]: Remove MAKE-OBJECTS-WRITABLE-PHASE.
This commit is contained in:
Marius Bakke 2018-02-18 19:45:46 +01:00
parent c06bf6a3e2
commit 1ac1872161
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -2077,17 +2077,7 @@ (define-public lvm2
;; Replace /bin/sh with the right file name.
(patch-makefile-SHELL "make.tmpl")
#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))))
#t)))
#:configure-flags (list (string-append "--sysconfdir="
(assoc-ref %outputs "out")