summaryrefslogtreecommitdiffstats
path: root/rules/lvm2.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/lvm2.make')
-rw-r--r--rules/lvm2.make6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/lvm2.make b/rules/lvm2.make
index 960417bd5..86004378e 100644
--- a/rules/lvm2.make
+++ b/rules/lvm2.make
@@ -60,6 +60,8 @@ LVM2_CONF_OPT := \
--disable-dmfilemapd \
--disable-notify-dbus \
--disable-blkid_wiping \
+ --$(call ptx/endis, PTXCONF_LVM2_SYSTEMD)-udev_sync \
+ --$(call ptx/endis, PTXCONF_LVM2_SYSTEMD)-udev_rules \
--disable-compat \
--disable-units-compat \
--enable-ioctl \
@@ -159,6 +161,10 @@ ifneq ($(call remove_quotes,$(PTXCONF_LVM2_BBINIT_LINK)),)
/etc/rc.d/$(PTXCONF_LVM2_BBINIT_LINK))
endif
endif
+
+ifdef PTXCONF_LVM2_SYSTEMD
+ @$(call install_tree, lvm2, 0, 0, -, /usr/lib/udev/rules.d/)
+endif
@$(call install_finish, lvm2)
@$(call touch)