From: Yann E. MORIN Date: Fri, 21 May 2021 14:44:35 +0000 (+0200) Subject: package/lvm2: fix inverted logic that is confusing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4526078d1b4be109d13343243151a6eb98f0532f;p=buildroot.git package/lvm2: fix inverted logic that is confusing Commit ff0f55e38197 (lvm2: replace !BR2_PACKAGE_LVM2_DMSETUP_ONLY by BR2_PACKAGE_LVM2_STANDARD_INSTALL) changed a negative-logic option to a positive-logic option. However, it kept the ordering of the conditional block, which became a negatice-logic condition. This is confusing; let's fix that. Reported-by: Pascal de Bruijn Signed-off-by: Yann E. MORIN Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk index 224dbf5d54..00baa50a86 100644 --- a/package/lvm2/lvm2.mk +++ b/package/lvm2/lvm2.mk @@ -46,13 +46,13 @@ else LVM2_CONF_OPTS += --disable-selinux endif -ifeq ($(BR2_PACKAGE_LVM2_STANDARD_INSTALL),) +ifeq ($(BR2_PACKAGE_LVM2_STANDARD_INSTALL),y) +LVM2_INSTALL_STAGING_OPTS += install +LVM2_INSTALL_TARGET_OPTS += install +else LVM2_MAKE_OPTS = device-mapper LVM2_INSTALL_STAGING_OPTS += install_device-mapper LVM2_INSTALL_TARGET_OPTS += install_device-mapper -else -LVM2_INSTALL_STAGING_OPTS += install -LVM2_INSTALL_TARGET_OPTS += install endif ifeq ($(BR2_INIT_SYSTEMD),y)