From: Clemens Gruber <clemens.gruber@pqgruber.com>
To: ptxdist@pengutronix.de
Cc: Clemens Gruber <clemens.gruber@pqgruber.com>
Subject: [ptxdist] [PATCH 13/22] lvm2: version bump 2.02.66 -> 2.02.177
Date: Tue, 16 Jan 2018 16:50:31 +0100 [thread overview]
Message-ID: <20180116155040.10061-13-clemens.gruber@pqgruber.com> (raw)
In-Reply-To: <20180116155040.10061-1-clemens.gruber@pqgruber.com>
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
---
rules/lvm2.in | 11 +++++++++++
rules/lvm2.make | 56 +++++++++++++++++++++++++++++++++++++++++++++++---------
2 files changed, 58 insertions(+), 9 deletions(-)
diff --git a/rules/lvm2.in b/rules/lvm2.in
index db6e60c36..b53086d8b 100644
--- a/rules/lvm2.in
+++ b/rules/lvm2.in
@@ -14,11 +14,22 @@ menuconfig LVM2
if LVM2
+config LVM2_LVM_TOOLS
+ bool
+ default y
+ prompt "install lvm tools"
+ help
+ If disabled, only dmsetup and the dm-mapper library are installed.
+
+if LVM2_LVM_TOOLS
+
config LVM2_STARTSCRIPT
bool
default y
prompt "install /etc/init.d/lvm2"
+endif
+
config LVM2_DEVICE_UID
int
default 0
diff --git a/rules/lvm2.make b/rules/lvm2.make
index dacdba767..26d5c6474 100644
--- a/rules/lvm2.make
+++ b/rules/lvm2.make
@@ -16,32 +16,66 @@ PACKAGES-$(PTXCONF_LVM2) += lvm2
#
# Paths and names
#
-LVM2_VERSION := 2.02.66
-LVM2_MD5 := 59766571610a4298f8bedf9f73839050
+LVM2_VERSION := 2.02.177
+LVM2_MD5 := ee6cfbc5a0c5696ffae79dac04ee7a2b
LVM2 := LVM2.$(LVM2_VERSION)
LVM2_SUFFIX := tgz
LVM2_URL := \
- ftp://sources.redhat.com/pub/lvm2/$(LVM2).$(LVM2_SUFFIX) \
+ ftp://sources.redhat.com/pub/lvm2/releases/$(LVM2).$(LVM2_SUFFIX) \
ftp://sources.redhat.com/pub/lvm2/old/$(LVM2).$(LVM2_SUFFIX)
LVM2_SOURCE := $(SRCDIR)/$(LVM2).$(LVM2_SUFFIX)
LVM2_DIR := $(BUILDDIR)/$(LVM2)
-LVM2_LICENSE := GPL-2.0
+LVM2_LICENSE := GPL-2.0, LGPL-2.1
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
-LVM2_ENV := \
- $(CROSS_ENV) \
- CFLAGS="$(CROSS_CFLAGS) $(CROSS_CPPFLAGS)" \
- ac_cv_path_MODPROBE_CMD="/sbin/modprobe"
-
#
# autoconf
#
LVM2_CONF_TOOL := autoconf
LVM2_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
+ --disable-static_link \
+ --disable-lvm1_fallback \
+ --disable-thin_check_needs_check \
+ --disable-cache_check_needs_check \
+ --enable-readline \
+ --enable-realtime \
+ --disable-ocf \
+ --disable-cmirrord \
+ --disable-debug \
+ --disable-profiling \
+ --disable-testing \
+ --disable-valgrind-pool \
+ --enable-devmapper \
+ --disable-lvmetad \
+ --disable-lvmpolld \
+ --disable-lvmlockd-sanlock \
+ --disable-lvmlockd-dlm \
+ --disable-use-lvmlockd \
+ --disable-use-lvmetad \
+ --disable-use-lvmpolld \
+ --disable-dmfilemapd \
+ --disable-notify-dbus \
+ --disable-blkid_wiping \
+ --disable-compat \
+ --disable-units-compat \
+ --enable-ioctl \
+ --enable-o_direct \
+ --enable-applib \
+ --enable-cmdlib \
+ --disable-python_bindings \
+ --disable-python2_bindings \
+ --disable-python3_bindings \
+ --enable-pkgconfig \
+ --enable-write_install \
+ --enable-fsadm \
+ --enable-blkdeactivate \
+ --enable-dmeventd \
+ --disable-selinux \
+ --disable-nls \
--with-device-uid=$(PTXCONF_LVM2_DEVICE_UID) \
--with-device-gid=$(PTXCONF_LVM2_DEVICE_GID) \
--with-device-mode=$(PTXCONF_LVM2_DEVICE_MODE)
@@ -60,6 +94,8 @@ $(STATEDIR)/lvm2.targetinstall:
@$(call install_fixup, lvm2,DESCRIPTION,missing)
@$(call install_copy, lvm2, 0, 0, 0755, -, /usr/sbin/dmsetup)
+
+ifdef PTXCONF_LVM2_LVM_TOOLS
@$(call install_copy, lvm2, 0, 0, 0755, -, /usr/sbin/fsadm)
@$(call install_copy, lvm2, 0, 0, 0755, -, /usr/sbin/lvmdump)
@$(call install_copy, lvm2, 0, 0, 0755, -, /usr/sbin/vgimportclone)
@@ -107,10 +143,12 @@ $(STATEDIR)/lvm2.targetinstall:
@$(call install_link, lvm2, lvm, /usr/sbin/vgs)
@$(call install_link, lvm2, lvm, /usr/sbin/vgscan)
@$(call install_link, lvm2, lvm, /usr/sbin/vgsplit)
+endif
@$(call install_alternative, lvm2, 0, 0, 0644, /etc/lvm/lvm.conf)
@$(call install_lib, lvm2, 0, 0, 0644, libdevmapper)
+ @$(call install_lib, lvm2, 0, 0, 0644, libdevmapper-event)
ifdef PTXCONF_LVM2_STARTSCRIPT
@$(call install_alternative, lvm2, 0, 0, 0755, /etc/init.d/lvm2)
--
2.15.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2018-01-16 15:51 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-16 15:50 [ptxdist] [PATCH 01/22] coreutils: version bump 8.27 -> 8.29 Clemens Gruber
2018-01-16 15:50 ` [ptxdist] [PATCH 02/22] cryptsetup: version bump 1.7.5 -> 2.0.0 Clemens Gruber
2018-01-16 15:50 ` [ptxdist] [PATCH 03/22] dbus: version bump 1.10.24 -> 1.12.2 Clemens Gruber
2018-01-24 14:40 ` Michael Olbrich
2018-01-16 15:50 ` [ptxdist] [PATCH 04/22] dbus: add upstream patches for OOM conditions Clemens Gruber
2018-01-16 15:50 ` [ptxdist] [PATCH 05/22] e2fsprogs: version bump 1.43.6 -> 1.43.8 Clemens Gruber
2018-01-16 15:50 ` [ptxdist] [PATCH 06/22] expat: version bump 2.2.4 -> 2.2.5 Clemens Gruber
2018-01-16 15:50 ` [ptxdist] [PATCH 07/22] file: version bump 5.30 -> 5.32 Clemens Gruber
2018-01-16 15:50 ` [ptxdist] [PATCH 08/22] host-meson: version bump 0.43.0 -> 0.44.0 Clemens Gruber
2018-01-16 15:50 ` [ptxdist] [PATCH 09/22] iproute2: version bump 4.13 -> 4.14.1 Clemens Gruber
2018-01-16 15:50 ` [ptxdist] [PATCH 10/22] json-c: version bump 0.12.1 -> 0.13 Clemens Gruber
2018-01-16 15:50 ` [ptxdist] [PATCH 11/22] kexec-tools: version bump 2.0.14 -> 2.0.16 Clemens Gruber
2018-01-16 15:50 ` [ptxdist] [PATCH 12/22] libsodium: version bump 1.0.11 -> 1.0.16 Clemens Gruber
2018-01-16 15:50 ` Clemens Gruber [this message]
2018-01-16 15:50 ` [ptxdist] [PATCH 14/22] mpg123: version bump 1.25.6 -> 1.25.8 Clemens Gruber
2018-01-16 15:50 ` [ptxdist] [PATCH 15/22] nano: version bump 2.8.4 -> 2.9.2 Clemens Gruber
2018-01-16 15:50 ` [ptxdist] [PATCH 16/22] ninja: version bump 1.7.2 -> 1.8.2 Clemens Gruber
2018-01-16 15:50 ` [ptxdist] [PATCH 17/22] nginx: update pkg-config patches from buildroot Clemens Gruber
2018-01-16 15:50 ` [ptxdist] [PATCH 18/22] protobuf: version bump 3.3.2 -> 3.5.1 Clemens Gruber
2018-01-25 14:38 ` Michael Olbrich
2018-01-25 15:04 ` Clemens Gruber
2018-01-25 15:24 ` Clemens Gruber
2018-01-16 15:50 ` [ptxdist] [PATCH 19/22] strace: version bump 4.18 -> 4.20 Clemens Gruber
2018-01-16 15:50 ` [ptxdist] [PATCH 20/22] trace-cmd: version bump 2.6.1 -> 2.6.2 Clemens Gruber
2018-01-16 15:50 ` [ptxdist] [PATCH 21/22] u-boot-tools: version bump 2017.07 -> 2018.01 Clemens Gruber
2018-01-16 15:50 ` [ptxdist] [PATCH 22/22] util-linux-ng: version bump 2.30.2 -> 2.31.1 Clemens Gruber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180116155040.10061-13-clemens.gruber@pqgruber.com \
--to=clemens.gruber@pqgruber.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox