mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: multipath-tools: Set prefix instead of DESTDIR.
This is necessary to avoid having multipath look for its plugins in /lib instead of /gnu/store/...-multipath-tools-.../lib. * gnu/packages/linux.scm (multipath-tools)[arguments]: Replace DESTDIR with prefix in make flags; override configdir to look up stateful configurations in global /etc directory.
This commit is contained in:
parent
a570b4e1ee
commit
2a58ddb6da
1 changed files with 3 additions and 1 deletions
|
@ -5203,7 +5203,7 @@ (define-public multipath-tools
|
|||
(list
|
||||
#:test-target "test"
|
||||
#:make-flags #~(list (string-append "CC=" #$(cc-for-target))
|
||||
(string-append "DESTDIR=" #$output)
|
||||
(string-append "prefix=" #$output)
|
||||
;; Install Udev rules below this directory, relative
|
||||
;; to the prefix.
|
||||
"SYSTEMDPATH=lib")
|
||||
|
@ -5218,6 +5218,8 @@ (define-public multipath-tools
|
|||
(substitute* "Makefile.inc"
|
||||
(("/bin/echo") "echo")
|
||||
(("\\$\\(prefix\\)/usr") "$(prefix)")
|
||||
(("configdir.*:= \\$\\(prefix\\)/etc/multipath/conf.d")
|
||||
"configdir := /etc/multipath/conf.d")
|
||||
;; Do not save timestamp to avoid gzip "timestamp
|
||||
;; out-of-range" warnings.
|
||||
(("gzip -9") "gzip -9n"))
|
||||
|
|
Loading…
Reference in a new issue