gnu: lvm2: Programs such as 'dmsetup' now have a correct RUNPATH.
* gnu/packages/linux.scm (alsa-utils): Add comment. (lvm2): Add LDFLAGS as a configure flag.
This commit is contained in:
parent
a4888e2e0f
commit
f2817d4303
|
@ -613,6 +613,9 @@ MIDI functionality to the Linux-based operating system.")
|
||||||
(arguments
|
(arguments
|
||||||
;; XXX: Disable man page creation until we have DocBook.
|
;; XXX: Disable man page creation until we have DocBook.
|
||||||
'(#:configure-flags (list "--disable-xmlto"
|
'(#:configure-flags (list "--disable-xmlto"
|
||||||
|
|
||||||
|
;; The udev rule is responsible for restoring
|
||||||
|
;; the volume.
|
||||||
(string-append "--with-udev-rules-dir="
|
(string-append "--with-udev-rules-dir="
|
||||||
(assoc-ref %outputs "out")
|
(assoc-ref %outputs "out")
|
||||||
"/lib/udev/rules.d"))
|
"/lib/udev/rules.d"))
|
||||||
|
@ -1397,7 +1400,13 @@ time.")
|
||||||
(assoc-ref %outputs "out")
|
(assoc-ref %outputs "out")
|
||||||
"/etc/lvm")
|
"/etc/lvm")
|
||||||
"--enable-udev_sync"
|
"--enable-udev_sync"
|
||||||
"--enable-udev_rules")
|
"--enable-udev_rules"
|
||||||
|
|
||||||
|
;; Make sure programs such as 'dmsetup' can
|
||||||
|
;; find libdevmapper.so.
|
||||||
|
(string-append "LDFLAGS=-Wl,-rpath="
|
||||||
|
(assoc-ref %outputs "out")
|
||||||
|
"/lib"))
|
||||||
|
|
||||||
;; The tests use 'mknod', which requires root access.
|
;; The tests use 'mknod', which requires root access.
|
||||||
#:tests? #f))
|
#:tests? #f))
|
||||||
|
|
Loading…
Reference in New Issue