gnu: miredo: Fix creation of .pid file.
* gnu/packages/networking.scm (miredo)[arguments]: Add "--localstatedir=/var" to #:configure-flags and add 'do-not-create-/run phase to #:phases to remove code that tries to create a directory inside "@localstatedir@" during install. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>master
parent
988ac06ce8
commit
4767ab4bf6
|
@ -700,8 +700,16 @@ or, more generally, MAC addresses of the same category of hardware.")
|
||||||
"0j9ilig570snbmj48230hf7ms8kvcwi2wblycqrmhh85lksd49ps"))))
|
"0j9ilig570snbmj48230hf7ms8kvcwi2wblycqrmhh85lksd49ps"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:configure-flags
|
||||||
|
(list "--localstatedir=/var")
|
||||||
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'do-not-create-/run
|
||||||
|
(lambda _
|
||||||
|
(substitute* (find-files "src" "Makefile.*")
|
||||||
|
(("^.+install_sh.+/run.+$")
|
||||||
|
"\ttrue"))
|
||||||
|
#t))
|
||||||
(add-after 'unpack 'patch-iproute2
|
(add-after 'unpack 'patch-iproute2
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let* ((iproute (assoc-ref inputs "iproute"))
|
(let* ((iproute (assoc-ref inputs "iproute"))
|
||||||
|
|
Reference in New Issue