* [Buildroot] [PATCH 1/2] package/lvm2: install systemd units and generators
@ 2020-03-02 7:49 Pascal de Bruijn
2020-04-19 20:41 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Pascal de Bruijn @ 2020-03-02 7:49 UTC (permalink / raw)
To: buildroot
Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
---
package/lvm2/lvm2.mk | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk
index 43370b03bf..02c758ea08 100644
--- a/package/lvm2/lvm2.mk
+++ b/package/lvm2/lvm2.mk
@@ -31,6 +31,9 @@ LVM2_MAKE_ENV = $(TARGET_CONFIGURE_OPTS)
# package/readline is GPL-3.0+, so not license compatible
LVM2_CONF_OPTS += --disable-readline
+LVM2_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR)
+LVM2_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR)
+
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
LVM2_CONF_OPTS += --enable-udev_rules
endif
@@ -44,8 +47,11 @@ endif
ifeq ($(BR2_PACKAGE_LVM2_STANDARD_INSTALL),)
LVM2_MAKE_OPTS = device-mapper
-LVM2_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install_device-mapper
-LVM2_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install_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_PACKAGE_LVM2_APP_LIBRARY),y)
@@ -54,6 +60,10 @@ else
LVM2_CONF_OPTS += --disable-applib
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
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/2] package/lvm2: install systemd units and generators
2020-03-02 7:49 [Buildroot] [PATCH 1/2] package/lvm2: install systemd units and generators Pascal de Bruijn
@ 2020-04-19 20:41 ` Thomas Petazzoni
2020-05-06 5:51 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2020-04-19 20:41 UTC (permalink / raw)
To: buildroot
On Mon, 2 Mar 2020 08:49:15 +0100
Pascal de Bruijn <p.debruijn@unilogic.nl> wrote:
> Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
> ---
> package/lvm2/lvm2.mk | 14 ++++++++++++--
> 1 file changed, 12 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/2] package/lvm2: install systemd units and generators
2020-04-19 20:41 ` Thomas Petazzoni
@ 2020-05-06 5:51 ` Peter Korsgaard
0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2020-05-06 5:51 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:
> On Mon, 2 Mar 2020 08:49:15 +0100
> Pascal de Bruijn <p.debruijn@unilogic.nl> wrote:
>> Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
>> ---
>> package/lvm2/lvm2.mk | 14 ++++++++++++--
>> 1 file changed, 12 insertions(+), 2 deletions(-)
Committed to 2020.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-05-06 5:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-02 7:49 [Buildroot] [PATCH 1/2] package/lvm2: install systemd units and generators Pascal de Bruijn
2020-04-19 20:41 ` Thomas Petazzoni
2020-05-06 5:51 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox