public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH 2/5] lvm2: Build with support for udev
Date: Wed, 15 Jan 2020 15:20:09 +0000	[thread overview]
Message-ID: <20200115152012.12345-2-michael.tremer@ipfire.org> (raw)
In-Reply-To: <20200115152012.12345-1-michael.tremer@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 1232 bytes --]

Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
---
 config/rootfiles/common/lvm2 | 4 ++++
 lfs/lvm2                     | 5 ++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/config/rootfiles/common/lvm2 b/config/rootfiles/common/lvm2
index 3c8187d00..5d2810450 100644
--- a/config/rootfiles/common/lvm2
+++ b/config/rootfiles/common/lvm2
@@ -9,6 +9,10 @@ etc/lvm/lvm.conf
 #etc/lvm/profile/metadata_profile_template.profile
 #etc/lvm/profile/thin-generic.profile
 #etc/lvm/profile/thin-performance.profile
+lib/udev/rules.d/10-dm.rules
+lib/udev/rules.d/11-dm-lvm.rules
+lib/udev/rules.d/13-dm-disk.rules
+lib/udev/rules.d/95-dm-notify.rules
 #usr/include/libdevmapper.h
 #usr/lib/libdevmapper.so
 usr/lib/libdevmapper.so.1.02
diff --git a/lfs/lvm2 b/lfs/lvm2
index fe6974279..63c338f3f 100644
--- a/lfs/lvm2
+++ b/lfs/lvm2
@@ -78,7 +78,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 		./configure \
 			--prefix=/usr \
 			--with-usrlibdir=/usr/lib \
-			--enable-pkgconfig
+			--enable-pkgconfig \
+			--with-udevdir=/lib/udev/rules.d \
+			--enable-udev_rules \
+			--enable-udev_sync
 	cd $(DIR_APP) && make $(MAKETUNING)
 	cd $(DIR_APP) && make install
 	@rm -rf $(DIR_APP)
-- 
2.20.1


  reply	other threads:[~2020-01-15 15:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-15 15:20 [PATCH 1/5] lvm2: Ship with core system Michael Tremer
2020-01-15 15:20 ` Michael Tremer [this message]
2020-01-15 15:20 ` [PATCH 3/5] lvm2: Enable lvmetad Michael Tremer
2020-01-15 15:20 ` [PATCH 4/5] lvm2: Create lock files in /run/lvm Michael Tremer
2020-01-15 15:20 ` [PATCH 5/5] lvm2: Add initscript for lvmetad Michael Tremer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200115152012.12345-2-michael.tremer@ipfire.org \
    --to=michael.tremer@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox