mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
lvm2: optionally depend on libselinux
Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
549908bf5f
commit
11683002c6
@ -35,6 +35,13 @@ else
|
|||||||
LVM2_CONF_OPTS += --disable-readline
|
LVM2_CONF_OPTS += --disable-readline
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
|
||||||
|
LVM2_CONF_OPTS += --enable-selinux
|
||||||
|
LVM2_DEPENDENCIES += libselinux
|
||||||
|
else
|
||||||
|
LVM2_CONF_OPTS += --disable-selinux
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LVM2_STANDARD_INSTALL),)
|
ifeq ($(BR2_PACKAGE_LVM2_STANDARD_INSTALL),)
|
||||||
LVM2_MAKE_OPTS = device-mapper
|
LVM2_MAKE_OPTS = device-mapper
|
||||||
LVM2_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install_device-mapper
|
LVM2_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install_device-mapper
|
||||||
|
Loading…
x
Reference in New Issue
Block a user