[Buildroot] [git commit] package/lvm2: make a standard install for host

Arnout Vandecappelle (Essensium/Mind) arnout at mind.be
Mon Sep 27 14:20:41 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=cadf33cab9014f9d9b0c9f4fa352e2fbf0129d70
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Use the standard install for the host, so e.g. pvcreate is installed as
well. pvcreate is needed for libvirt.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
 package/lvm2/lvm2.mk | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk
index 6726e165b1..a5724328ff 100644
--- a/package/lvm2/lvm2.mk
+++ b/package/lvm2/lvm2.mk
@@ -72,9 +72,8 @@ HOST_LVM2_CONF_OPTS = \
 	--disable-dmeventd \
 	--disable-fsadm \
 	--disable-readline \
-	--disable-selinux
-HOST_LVM2_MAKE_OPTS = device-mapper
-HOST_LVM2_INSTALL_OPTS = install_device-mapper
+	--disable-selinux \
+	--with-confdir=$(HOST_DIR)/etc
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))


More information about the buildroot mailing list