LVM2 is not really required in the embedded use case. Opt out of installing the standard installation which will install only dmsetup. This requires a backported fix for the lvm2 package to not install unnecessary systemd services. Fixes: #1448
This commit is contained in:
@@ -53,6 +53,9 @@ LVM2_INSTALL_TARGET_OPTS += install_device-mapper
|
||||
else
|
||||
LVM2_INSTALL_STAGING_OPTS += install
|
||||
LVM2_INSTALL_TARGET_OPTS += install
|
||||
ifeq ($(BR2_INIT_SYSTEMD),y)
|
||||
LVM2_INSTALL_TARGET_OPTS += install_systemd_units install_systemd_generators
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LVM2_APP_LIBRARY),y)
|
||||
@@ -67,10 +70,6 @@ else
|
||||
LVM2_CONF_OPTS += --disable-lvmetad
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_INIT_SYSTEMD),y)
|
||||
LVM2_INSTALL_TARGET_OPTS += install_systemd_units install_systemd_generators
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),)
|
||||
LVM2_CONF_ENV += ac_cv_flag_HAVE_PIE=no
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user