[Buildroot] [PATCH v3, 1/2] package/lvm2: make a standard install for host

Arnout Vandecappelle arnout at mind.be
Mon Sep 27 14:35:00 UTC 2021



On 26/09/2021 22:34, Fabrice Fontaine wrote:
> 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>

  Both applied ot master, thanks.

  Regards,
  Arnout

> ---
> Changes v2 -> v3 (after review of Arnout Vandecappelle):
>   - Update commit message and drop HOST_LVM2_INSTALL_OPTS
> Changes v1 -> v2 (after review of Yann E. Morin):
>   - Use --with-confdir instead of DESTDIR
> 
>   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 3a94aebfd4..70da10696c 100644
> --- a/package/lvm2/lvm2.mk
> +++ b/package/lvm2/lvm2.mk
> @@ -71,9 +71,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