summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/lvm2
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2018-08-01 15:21:33 +0800
committerKhem Raj <raj.khem@gmail.com>2018-08-02 11:23:03 -0700
commit1ffb90072a0fd17ee3be310af52bb32945b53ec3 (patch)
treeaa7d316a0d38099da758fdf2faed1c19b5fcfde9 /meta-oe/recipes-support/lvm2
parent9beba98f5e7840a91db42830c63a6e36e3a0e4ed (diff)
downloadmeta-openembedded-1ffb90072a0fd17ee3be310af52bb32945b53ec3.tar.gz
lvm2/libdevmapper: 2.02.177 -> 2.02.180
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/lvm2')
-rw-r--r--meta-oe/recipes-support/lvm2/files/0004-tweak-MODPROBE_CMD-for-cross-compile.patch29
-rw-r--r--meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch46
-rw-r--r--meta-oe/recipes-support/lvm2/libdevmapper_2.02.180.bb (renamed from meta-oe/recipes-support/lvm2/libdevmapper_2.02.177.bb)4
-rw-r--r--meta-oe/recipes-support/lvm2/lvm2.inc4
-rw-r--r--meta-oe/recipes-support/lvm2/lvm2_2.02.180.bb (renamed from meta-oe/recipes-support/lvm2/lvm2_2.02.177.bb)4
5 files changed, 51 insertions, 36 deletions
diff --git a/meta-oe/recipes-support/lvm2/files/0004-tweak-MODPROBE_CMD-for-cross-compile.patch b/meta-oe/recipes-support/lvm2/files/0004-tweak-MODPROBE_CMD-for-cross-compile.patch
index 425ba7406..517b9a5f2 100644
--- a/meta-oe/recipes-support/lvm2/files/0004-tweak-MODPROBE_CMD-for-cross-compile.patch
+++ b/meta-oe/recipes-support/lvm2/files/0004-tweak-MODPROBE_CMD-for-cross-compile.patch
@@ -1,6 +1,6 @@
1From 0012ea63f6070a5d41fa380970f9c30b953237d2 Mon Sep 17 00:00:00 2001 1From 3bba45890985b877b823836e78a1c8ac3c878856 Mon Sep 17 00:00:00 2001
2From: Dengke Du <dengke.du@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Tue, 25 Oct 2016 11:59:40 +0000 3Date: Tue, 31 Jul 2018 15:04:29 +0800
4Subject: [PATCH 4/4] tweak MODPROBE_CMD for cross compile 4Subject: [PATCH 4/4] tweak MODPROBE_CMD for cross compile
5 5
6Lvm uses variable MODPROBE_CMD at runtime, so build time detection of modprobe 6Lvm uses variable MODPROBE_CMD at runtime, so build time detection of modprobe
@@ -16,20 +16,23 @@ filter=["r|/loop1$|","r|/loop2$|","r|/loop3$|","r|/loop4$|","r|/loop5$|","r|/loo
16Upstream-Status: Inappropriate [oe specific] 16Upstream-Status: Inappropriate [oe specific]
17 17
18Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 18Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
19Signed-off-by: Dengke Du <dengke.du@windriver.com>
20--- 19---
21 configure.in | 1 - 20 configure.ac | 2 --
22 1 file changed, 1 deletion(-) 21 1 file changed, 2 deletions(-)
23 22
24Index: LVM2.2.02.177/configure.in 23diff --git a/configure.ac b/configure.ac
25=================================================================== 24index e427708..aa374ea 100644
26--- LVM2.2.02.177.orig/configure.in 25--- a/configure.ac
27+++ LVM2.2.02.177/configure.in 26+++ b/configure.ac
28@@ -1870,7 +1870,6 @@ if test "$BUILD_DMFILEMAPD" = yes; then 27@@ -1791,8 +1791,6 @@ if test "$BUILD_DMFILEMAPD" = yes; then
29 fi 28 fi
30 29
31 ################################################################################ 30 ################################################################################
32-AC_PATH_TOOL(MODPROBE_CMD, modprobe) 31-AC_PATH_TOOL(MODPROBE_CMD, modprobe, [], [$PATH_SBIN])
33 32-
34 if test -n "$MODPROBE_CMD"; then 33 if test -n "$MODPROBE_CMD"; then
35 AC_DEFINE_UNQUOTED([MODPROBE_CMD], ["$MODPROBE_CMD"], [The path to 'modprobe', if available.]) 34 AC_DEFINE_UNQUOTED([MODPROBE_CMD], ["$MODPROBE_CMD"], [The path to 'modprobe', if available.])
35 fi
36--
372.7.4
38
diff --git a/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch b/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch
index 01477e0c9..e3ce4c8ac 100644
--- a/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch
+++ b/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch
@@ -1,6 +1,6 @@
1From d8bb25e34d6533ba78eaae697771ee499a66706f Mon Sep 17 00:00:00 2001 1From 51d661ff33bb254d7b335a9c87acf5c6e7a94192 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Wed, 2 Aug 2017 03:41:37 -0400 3Date: Tue, 31 Jul 2018 15:08:34 +0800
4Subject: [PATCH] do not build manual 4Subject: [PATCH] do not build manual
5 5
6On some host (ubuntu 1404), build manual failed. 6On some host (ubuntu 1404), build manual failed.
@@ -15,24 +15,33 @@ Upstream-Status: Pending
15 15
16Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 16Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
17--- 17---
18 Makefile.in | 4 ++-- 18 Makefile.in | 6 +++---
19 configure.in | 1 - 19 configure.ac | 1 -
20 2 files changed, 2 insertions(+), 3 deletions(-) 20 2 files changed, 3 insertions(+), 4 deletions(-)
21 21
22Index: LVM2.2.02.177/Makefile.in 22diff --git a/Makefile.in b/Makefile.in
23=================================================================== 23index e2f5a84..acf31e5 100644
24--- LVM2.2.02.177.orig/Makefile.in 24--- a/Makefile.in
25+++ LVM2.2.02.177/Makefile.in 25+++ b/Makefile.in
26@@ -18,7 +18,7 @@ top_builddir = @top_builddir@ 26@@ -18,7 +18,7 @@ top_builddir = @top_builddir@
27 abs_top_builddir = @abs_top_builddir@ 27 abs_top_builddir = @abs_top_builddir@
28 abs_top_srcdir = @abs_top_srcdir@ 28 abs_top_srcdir = @abs_top_srcdir@
29 29
30-SUBDIRS = conf daemons include lib libdaemon libdm man scripts tools 30-SUBDIRS = conf daemons include lib libdaemon libdm man scripts device_mapper tools
31+SUBDIRS = conf daemons include lib libdaemon libdm scripts tools 31+SUBDIRS = conf daemons include lib libdaemon libdm scripts device_mapper tools
32 32
33 ifeq ("@UDEV_RULES@", "yes") 33 ifeq ("@UDEV_RULES@", "yes")
34 SUBDIRS += udev 34 SUBDIRS += udev
35@@ -69,7 +69,7 @@ liblvm.device-mapper: include.device-map 35@@ -41,7 +41,7 @@ ifeq ($(MAKECMDGOALS),clean)
36 endif
37 # FIXME Should use intermediate Makefiles here!
38 ifeq ($(MAKECMDGOALS),distclean)
39- SUBDIRS = conf include man test scripts \
40+ SUBDIRS = conf include test scripts \
41 libdaemon lib tools daemons libdm \
42 udev po liblvm python device_mapper
43 tools.distclean: test.distclean
44@@ -71,7 +71,7 @@ liblvm.device-mapper: include.device-mapper
36 daemons.device-mapper: libdm.device-mapper 45 daemons.device-mapper: libdm.device-mapper
37 tools.device-mapper: libdm.device-mapper 46 tools.device-mapper: libdm.device-mapper
38 scripts.device-mapper: include.device-mapper 47 scripts.device-mapper: include.device-mapper
@@ -41,11 +50,11 @@ Index: LVM2.2.02.177/Makefile.in
41 50
42 ifeq ("@INTL@", "yes") 51 ifeq ("@INTL@", "yes")
43 lib.pofile: include.pofile 52 lib.pofile: include.pofile
44Index: LVM2.2.02.177/configure.in 53diff --git a/configure.ac b/configure.ac
45=================================================================== 54index aa374ea..5a92cba 100644
46--- LVM2.2.02.177.orig/configure.in 55--- a/configure.ac
47+++ LVM2.2.02.177/configure.in 56+++ b/configure.ac
48@@ -2216,7 +2216,6 @@ libdm/Makefile 57@@ -2124,7 +2124,6 @@ libdm/Makefile
49 libdm/libdevmapper.pc 58 libdm/libdevmapper.pc
50 liblvm/Makefile 59 liblvm/Makefile
51 liblvm/liblvm2app.pc 60 liblvm/liblvm2app.pc
@@ -53,3 +62,6 @@ Index: LVM2.2.02.177/configure.in
53 po/Makefile 62 po/Makefile
54 python/Makefile 63 python/Makefile
55 python/setup.py 64 python/setup.py
65--
662.7.4
67
diff --git a/meta-oe/recipes-support/lvm2/libdevmapper_2.02.177.bb b/meta-oe/recipes-support/lvm2/libdevmapper_2.02.180.bb
index 211a4726b..f3f11ef64 100644
--- a/meta-oe/recipes-support/lvm2/libdevmapper_2.02.177.bb
+++ b/meta-oe/recipes-support/lvm2/libdevmapper_2.02.180.bb
@@ -1,7 +1,7 @@
1require lvm2.inc 1require lvm2.inc
2 2
3SRC_URI[md5sum] = "ee6cfbc5a0c5696ffae79dac04ee7a2b" 3SRC_URI[md5sum] = "bc26da66e96727babbd288bb0f050339"
4SRC_URI[sha256sum] = "4025a23ec9b15c2cb7486d151c29dc953b75efc4d452cfe9dbbc7c0fac8e80f2" 4SRC_URI[sha256sum] = "24997e26dfc916151707c9da504d38d0473bec3481a8230b676bc079041bead6"
5 5
6DEPENDS += "autoconf-archive-native" 6DEPENDS += "autoconf-archive-native"
7 7
diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc
index 3a1e82bac..75f4d89a0 100644
--- a/meta-oe/recipes-support/lvm2/lvm2.inc
+++ b/meta-oe/recipes-support/lvm2/lvm2.inc
@@ -5,9 +5,9 @@ LICENSE = "GPLv2 & LGPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=12713b4d9386533feeb07d6e4831765a \ 5LIC_FILES_CHKSUM = "file://COPYING;md5=12713b4d9386533feeb07d6e4831765a \
6 file://COPYING.LIB;md5=fbc093901857fcd118f065f900982c24" 6 file://COPYING.LIB;md5=fbc093901857fcd118f065f900982c24"
7 7
8DEPENDS += "util-linux" 8DEPENDS += "util-linux libaio"
9 9
10SRC_URI = "ftp://sources.redhat.com/pub/lvm2/old/LVM2.${PV}.tgz \ 10SRC_URI = "ftp://sources.redhat.com/pub/lvm2/LVM2.${PV}.tgz \
11 file://lvm.conf \ 11 file://lvm.conf \
12 file://0001-implement-libc-specific-reopen_stream.patch \ 12 file://0001-implement-libc-specific-reopen_stream.patch \
13 file://0002-Guard-use-of-mallinfo-with-__GLIBC__.patch \ 13 file://0002-Guard-use-of-mallinfo-with-__GLIBC__.patch \
diff --git a/meta-oe/recipes-support/lvm2/lvm2_2.02.177.bb b/meta-oe/recipes-support/lvm2/lvm2_2.02.180.bb
index 1d9de3d94..5b9b2f7ec 100644
--- a/meta-oe/recipes-support/lvm2/lvm2_2.02.177.bb
+++ b/meta-oe/recipes-support/lvm2/lvm2_2.02.180.bb
@@ -1,7 +1,7 @@
1require lvm2.inc 1require lvm2.inc
2 2
3SRC_URI[md5sum] = "ee6cfbc5a0c5696ffae79dac04ee7a2b" 3SRC_URI[md5sum] = "bc26da66e96727babbd288bb0f050339"
4SRC_URI[sha256sum] = "4025a23ec9b15c2cb7486d151c29dc953b75efc4d452cfe9dbbc7c0fac8e80f2" 4SRC_URI[sha256sum] = "24997e26dfc916151707c9da504d38d0473bec3481a8230b676bc079041bead6"
5 5
6SRC_URI += "file://0001-explicitly-do-not-install-libdm.patch" 6SRC_URI += "file://0001-explicitly-do-not-install-libdm.patch"
7 7