package/lvm2: optional systemd integration
PATCH 2/3 package/lvm2: optional systemd integration
Signed-off-by Pascal de Bruijn <[email protected]>
--- package/lvm2/Config.in | 7 +++++++ package/lvm2/lvm2.mk | 6 ++++++ 2 files changed, 13 insertions(+)
package/lvm2/Config.in +7 -0
@@ -47,6 +47,13 @@ config BR2_PACKAGE_LVM2_APP_LIBRARY comment "lvm2 application library needs a glibc or uClibc toolchain" depends on BR2_TOOLCHAIN_USES_MUSL +config BR2_PACKAGE_LVM2_SYSTEMD + bool "install systemd integration" + depends on BR2_PACKAGE_SYSTEMD + select BR2_PACKAGE_LVM2_APP_LIBRARY + help + Install systemd generator and services. + endif comment "lvm2 needs a toolchain w/ threads, dynamic library"
package/lvm2/lvm2.mk +6 -0
@@ -54,6 +54,12 @@ else LVM2_CONF_OPTS += --disable-applib endif +ifeq ($(BR2_PACKAGE_LVM2_SYSTEMD),y) +LVM2_DEPENDANCIES += systemd +LVM2_CONF_OPTS += --enable-lvmetad +LVM2_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install install_systemd_units install_systemd_generators +endif + ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),) LVM2_CONF_ENV += ac_cv_flag_HAVE_PIE=no endif
Signature · 1 line
2.7.4
PATCH 2/3 package/lvm2: optional systemd integration
Quoted 13 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Pascal" == Pascal de Bruijn <[email protected]> writes:
Signed-off-by Pascal de Bruijn <[email protected]>--- package/lvm2/Config.in | 7 +++++++ package/lvm2/lvm2.mk | 6 ++++++ 2 files changed, 13 insertions(+)package/lvm2/Config.in +0
-0
package/lvm2/Config.in config BR2_PACKAGE_LVM2_APP_LIBRARY · line 56
Quoted 10 lines
package/lvm2/Config.in +7
-0@@ -47,6 +47,13 @@ config BR2_PACKAGE_LVM2_APP_LIBRARY comment "lvm2 application library needs a glibc or uClibc toolchain" depends on BR2_TOOLCHAIN_USES_MUSL +config BR2_PACKAGE_LVM2_SYSTEMD + bool "install systemd integration" + depends on BR2_PACKAGE_SYSTEMD + select BR2_PACKAGE_LVM2_APP_LIBRARY + help + Install systemd generator and services. +
Why would we want a user selectable option for this and not just automatically do that if systemd and app-library are enabled?
package/lvm2/lvm2.mk else · line 58
Quoted 13 lines
package/lvm2/Config.in +0
-0endif comment "lvm2 needs a toolchain w/ threads, dynamic library"package/lvm2/lvm2.mk +2
-0@@ -54,6 +54,12 @@ else LVM2_CONF_OPTS += --disable-applib endif +ifeq ($(BR2_PACKAGE_LVM2_SYSTEMD),y) +LVM2_DEPENDANCIES += systemd
Typo.
package/lvm2/lvm2.mk else · line 59
Quoted 1 line
package/lvm2/lvm2.mk +1
-0+LVM2_CONF_OPTS += --enable-lvmetad
What is lvmetad? What is the relation to systemd?
Signature · 1 line
Bye, Peter Korsgaard