gnu: linux-libre: Add 'patch-/bin/pwd' phase.

* gnu/packages/linux.scm (make-linux-libre)[arguments]: Add 'patch-/bin/pwd'
phase.
This commit is contained in:
Mark H Weaver 2018-04-11 04:42:02 -04:00
parent 0d91cd07a2
commit c5bd8753be
No known key found for this signature in database
GPG key ID: 7CEF29847562C516

View file

@ -311,6 +311,11 @@ (define* (make-linux-libre version hash supported-systems
(ice-9 match)) (ice-9 match))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'patch-/bin/pwd
(lambda _
(substitute* (find-files "." "^Makefile(\\.include)?$")
(("/bin/pwd") "pwd"))
#t))
(replace 'configure (replace 'configure
(lambda* (#:key inputs native-inputs target #:allow-other-keys) (lambda* (#:key inputs native-inputs target #:allow-other-keys)
;; Avoid introducing timestamps ;; Avoid introducing timestamps