gnu: e2fsprogs: Remove references to linux-libre-headers.
This removes the final linux-libre-headers and its references (including bootstrap-binaries) from the closure. * gnu/packages/linux.scm (e2fsprogs)[arguments]: Augment 'install-libs' phase to make .a files writable.
This commit is contained in:
parent
49607566e1
commit
853c2f18e7
@ -577,8 +577,21 @@ slabtop, and skill.")
|
||||
(string-append "#!" (which "sh")))))
|
||||
(alist-cons-after
|
||||
'install 'install-libs
|
||||
(lambda _
|
||||
(zero? (system* "make" "install-libs")))
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(lib (string-append out "/lib")))
|
||||
(and (zero? (system* "make" "install-libs"))
|
||||
|
||||
;; Make the .a writable so that 'strip' works.
|
||||
;; Failing to do that, due to debug symbols, we
|
||||
;; retain a reference to the final
|
||||
;; linux-libre-headers, which refer to the
|
||||
;; bootstrap binaries.
|
||||
(let ((archives (find-files lib "\\.a$")))
|
||||
(for-each (lambda (file)
|
||||
(chmod file #o666))
|
||||
archives)
|
||||
#t))))
|
||||
%standard-phases))
|
||||
|
||||
;; FIXME: Tests work by comparing the stdout/stderr of programs, that
|
||||
|
Loading…
Reference in New Issue
Block a user