[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: linux-libre: Add 'patch-/bin/pwd' phase.
From: |
Mark H. Weaver |
Subject: |
02/02: gnu: linux-libre: Add 'patch-/bin/pwd' phase. |
Date: |
Wed, 11 Apr 2018 15:02:32 -0400 (EDT) |
mhw pushed a commit to branch kernel-updates
in repository guix.
commit 76344e945c8b8c31e30ec9559554a89713327ee6
Author: Mark H Weaver <address@hidden>
Date: Wed Apr 11 04:42:02 2018 -0400
gnu: linux-libre: Add 'patch-/bin/pwd' phase.
* gnu/packages/linux.scm (make-linux-libre)[arguments]: Add 'patch-/bin/pwd'
phase.
---
gnu/packages/linux.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index a45c36d..c09e047 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -311,6 +311,11 @@ for ARCH and optionally VARIANT, or #f if there is no such
configuration."
(ice-9 match))
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'patch-/bin/pwd
+ (lambda _
+ (substitute* (find-files "." "^Makefile(\\.include)?$")
+ (("/bin/pwd") "pwd"))
+ #t))
(replace 'configure
(lambda* (#:key inputs native-inputs target #:allow-other-keys)
;; Avoid introducing timestamps