package/lvm2: fix inverted logic that is confusing

Commit ff0f55e381 (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 <p.debruijn@unilogic.nl>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Yann E. MORIN 2021-05-21 16:44:35 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 351122979b
commit 4526078d1b

View File

@ -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)