* [bug#46305] [PATCH] gnu: miredo: Fix creation of .pid file.
@ 2021-02-04 22:33 Léo Le Bouter via Guix-patches via
2021-02-11 9:20 ` bug#46305: " 宋文武
0 siblings, 1 reply; 2+ messages in thread
From: Léo Le Bouter via Guix-patches via @ 2021-02-04 22:33 UTC (permalink / raw)
To: 46305; +Cc: Léo Le Bouter
* 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.
---
gnu/packages/networking.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index abaab60f31..5e0022ac76 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -700,8 +700,16 @@ or, more generally, MAC addresses of the same category of hardware.")
"0j9ilig570snbmj48230hf7ms8kvcwi2wblycqrmhh85lksd49ps"))))
(build-system gnu-build-system)
(arguments
- '(#:phases
+ '(#:configure-flags
+ (list "--localstatedir=/var")
+ #: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
(lambda* (#:key inputs #:allow-other-keys)
(let* ((iproute (assoc-ref inputs "iproute"))
--
2.30.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#46305: [PATCH] gnu: miredo: Fix creation of .pid file.
2021-02-04 22:33 [bug#46305] [PATCH] gnu: miredo: Fix creation of .pid file Léo Le Bouter via Guix-patches via
@ 2021-02-11 9:20 ` 宋文武
0 siblings, 0 replies; 2+ messages in thread
From: 宋文武 @ 2021-02-11 9:20 UTC (permalink / raw)
To: Léo Le Bouter; +Cc: 46305-done
Léo Le Bouter <lle-bout@zaclys.net> writes:
> * 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.
Pushed, thank you!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-11 9:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-04 22:33 [bug#46305] [PATCH] gnu: miredo: Fix creation of .pid file Léo Le Bouter via Guix-patches via
2021-02-11 9:20 ` bug#46305: " 宋文武
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.