From 1ac187216136e7a1f0cfcbf76e664091f5d1ff26 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 18 Feb 2018 19:45:46 +0100 Subject: [PATCH] gnu: lvm2: Remove obsolete phase. * gnu/packages/linux.scm (lvm2)[arguments]: Remove MAKE-OBJECTS-WRITABLE-PHASE. --- gnu/packages/linux.scm | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index ecdfca59a1..3a553fc96b 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -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")