From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47852) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fk8MF-0003Zt-E9 for guix-patches@gnu.org; Mon, 30 Jul 2018 09:37:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fk8MB-0007Aw-Ar for guix-patches@gnu.org; Mon, 30 Jul 2018 09:37:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:57703) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fk8MB-0007As-6s for guix-patches@gnu.org; Mon, 30 Jul 2018 09:37:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fk8MB-0001aj-13 for guix-patches@gnu.org; Mon, 30 Jul 2018 09:37:03 -0400 Subject: [bug#31999] [PATCH 4/7] gnu: lvm2: Add device-mapper-event support. Resent-Message-ID: From: Pierre Neidhardt Date: Mon, 30 Jul 2018 15:36:40 +0200 Message-Id: <20180730133640.30077-1-ambrevar@gmail.com> In-Reply-To: <87effk3n1u.fsf@fastmail.com> References: <87effk3n1u.fsf@fastmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 31999@debbugs.gnu.org * GNU/packages/linux.scm (lvm2)[configure-flags]: Build device-mapper-event. --- gnu/packages/linux.scm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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")) ;; The tests use 'mknod', which requires root access. #:tests? #f)) -- 2.18.0