diff options
author | Changqing Li <changqing.li@windriver.com> | 2018-07-18 15:31:22 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-07-20 16:07:12 -0700 |
commit | 3dc38c444b5fc88f9f0ba342a2e7db4c6566719f (patch) | |
tree | 9e5e01abfada189189bb79f57e7647f7a5c34c82 /meta-oe/recipes-support/multipath-tools/files/0031-Always-use-devmapper-for-kpartx.patch | |
parent | 61c6d99fb814be8ba295d6923f549179dfb51fe8 (diff) | |
download | meta-openembedded-contrib-3dc38c444b5fc88f9f0ba342a2e7db4c6566719f.tar.gz |
multipath-tools: upgrade 0.7.1 -> 0.7.7
1. Backport patches from fedora:
git://pkgs.fedoraproject.org/rpms/device-mapper-multipath
- 0001 ~ 0028
2. drop obsolute patch and rebase still needed patch
rebased patch: 0029~0031
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/multipath-tools/files/0031-Always-use-devmapper-for-kpartx.patch')
-rw-r--r-- | meta-oe/recipes-support/multipath-tools/files/0031-Always-use-devmapper-for-kpartx.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/multipath-tools/files/0031-Always-use-devmapper-for-kpartx.patch b/meta-oe/recipes-support/multipath-tools/files/0031-Always-use-devmapper-for-kpartx.patch new file mode 100644 index 0000000000..88a758dcb7 --- /dev/null +++ b/meta-oe/recipes-support/multipath-tools/files/0031-Always-use-devmapper-for-kpartx.patch @@ -0,0 +1,40 @@ +From 145f2b829e5362cda975bebafd7fe4d00ff56d1c Mon Sep 17 00:00:00 2001 +From: Changqing Li <changqing.li@windriver.com> +Date: Mon, 16 Jul 2018 16:02:07 +0800 +Subject: [PATCH] Always use devmapper for kpartx + +Do not try to compute the LIBDM_API_COOKIE make variable +from host information when cross-compiling. + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Aws Ismail <aws.ismail@windriver.com> +Signed-off-by: Joe Slater <joe.slater@windriver.com> + +Rebase to 0.7.1 +Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> + +Rebase to 0.7.7 +Signed-off-by: Changqing Li <changqing.li@windriver.com> +--- + kpartx/Makefile | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +diff --git a/kpartx/Makefile b/kpartx/Makefile +index 7eb467e..c143321 100644 +--- a/kpartx/Makefile ++++ b/kpartx/Makefile +@@ -8,9 +8,7 @@ LDFLAGS += $(BIN_LDFLAGS) + + LIBDEPS += -ldevmapper + +-ifneq ($(call check_func,dm_task_set_cookie,/usr/include/libdevmapper.h),0) +- CFLAGS += -DLIBDM_API_COOKIE +-endif ++CFLAGS += -DLIBDM_API_COOKIE + + OBJS = bsd.o dos.o kpartx.o solaris.o unixware.o dasd.o sun.o \ + gpt.o mac.o ps3.o crc32.o lopart.o xstrncpy.o devmapper.o +-- +2.7.4 + |