[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#31999] [PATCH 4/7] gnu: lvm2: Add device-mapper-event support.
From: |
Marius Bakke |
Subject: |
[bug#31999] [PATCH 4/7] gnu: lvm2: Add device-mapper-event support. |
Date: |
Mon, 30 Jul 2018 00:33:34 +0200 |
User-agent: |
Notmuch/0.27 (https://notmuchmail.org) Emacs/26.1 (x86_64-pc-linux-gnu) |
Pierre Neidhardt <address@hidden> writes:
> * GNU/packages/linux.scm (lvm2)[configure-flags]: Build device-mapper-event.
This changes more than just configure-flags, can you update the commit
message accordingly?
[...]
> diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
> index 70615df93..e27c9b475 100644
> --- a/gnu/packages/linux.scm
> +++ b/gnu/packages/linux.scm
> @@ -2127,12 +2127,24 @@ time.")
> "--enable-udev_sync"
> "--enable-udev_rules"
> "--enable-pkgconfig"
> + "--enable-cmdlib"
> + "--enable-dmeventd" ; Requires
> '--enable-cmdlib'.
>
> ;; Make sure programs such as 'dmsetup' can
> ;; find libdevmapper.so.
> (string-append "LDFLAGS=-Wl,-rpath="
> (assoc-ref %outputs "out")
> - "/lib"))
> + "/lib,-rpath="
> + (assoc-ref %outputs "out")
> + "/lib/device-mapper")
> + ;; TODO: Patch make.tmpl.in to take LDFLAGS
> + ;; into account so that we don't need to also
> + ;; set CLDFLAGS.
> + (string-append "CLDFLAGS=-Wl,-rpath="
> + (assoc-ref %outputs "out")
> + "/lib,-rpath="
> + (assoc-ref %outputs "out")
> + "/lib/device-mapper"))
Did you try patching the Make template?
I suppose this is okay, though I'm curious about the LDFLAGS/CLDFLAGS
distinction.
signature.asc
Description: PGP signature
- [bug#31999] [PATCH 4/7] gnu: lvm2: Add device-mapper-event support., Marius Bakke, 2018/07/12
- [bug#31999] [PATCH 4/7] gnu: lvm2: Add device-mapper-event support., Pierre Neidhardt, 2018/07/28
- [bug#31999] [PATCH 4/7] gnu: lvm2: Add device-mapper-event support.,
Marius Bakke <=
- [bug#31999] [PATCH 4/7] gnu: lvm2: Add device-mapper-event support., Pierre Neidhardt, 2018/07/30
- [bug#31999] [PATCH 4/7] gnu: lvm2: Add device-mapper-event support., Pierre Neidhardt, 2018/07/30
- [bug#31999] [PATCH 4/7] gnu: lvm2: Add device-mapper-event support., Marius Bakke, 2018/07/30
- [bug#31999] [PATCH 4/7] gnu: lvm2: Add device-mapper-event support., Pierre Neidhardt, 2018/07/30
- [bug#31999] [PATCH 4/7] gnu: lvm2: Add device-mapper-event support., Marius Bakke, 2018/07/30