multipath-tools: upgrade 0.9.3 -> 0.9.8
PATCH 1/1 multipath-tools: upgrade 0.9.3 -> 0.9.8
From: Changqing Li <[email protected]>
Drop following patches since already include in 0.9.8:
0031-Always-use-devmapper-for-kpartx.patch 0032-libdmmp-Makefile-replace-perl-with-sed-in-install-ta.patch
Refresh other patches
Signed-off-by Changqing Li <[email protected]>
---
.../0001-RH-fixup-udev-rules-for-redhat.patch | 74 ++++++++++++++++++
...roperty-blacklist-exception-builtin.patch} | 39 ++++++----
...H-don-t-start-without-a-config-file.patch} | 54 +++++++------
.../0004-RH-use-rpm-optflags-if-present.patch | 55 +++++++++++++
...conf.patch => 0005-RH-add-mpathconf.patch} | 68 ++++++++--------
...m-kernel-cmdline-mpath.wwids-with-A.patch} | 23 ++----
...on-invalid-regex-instead-of-failing.patch} | 36 ++++-----
...default-find_mutipaths-value-to-off.patch} | 16 ++--
...modify-create-config.mk-for-cross-co.patch | 40 ++++++++++
...0-Subject-PATCH-Always-use-devmapper.patch | 72 +++++++++++++++++
...ix-bug-of-do_compile-and-do_install.patch} | 12 ++-
...dd-explicit-dependency-on-libraries.patch} | 10 +--
.../0021-RH-fixup-udev-rules-for-redhat.patch | 76 ------------------
.../0024-RH-use-rpm-optflags-if-present.patch | 74 ------------------
...modify-Makefile.inc-for-cross-compil.patch | 59 --------------
.../files/0030-Always-use-devmapper.patch | 77 -------------------
...0031-Always-use-devmapper-for-kpartx.patch | 45 -----------
...-replace-perl-with-sed-in-install-ta.patch | 44 -----------
...ools_0.9.3.bb => multipath-tools_0.9.8.bb} | 29 ++++---
19 files changed, 377 insertions(+), 526 deletions(-)
create mode 100644 meta-oe/recipes-support/multipath-tools/files/0001-RH-fixup-udev-rules-for-redhat.patch
rename meta-oe/recipes-support/multipath-tools/files/{0022-RH-Remove-the-property-blacklist-exception-builtin.patch => 0002-RH-Remove-the-property-blacklist-exception-builtin.patch} (61%)
rename meta-oe/recipes-support/multipath-tools/files/{0023-RH-don-t-start-without-a-config-file.patch => 0003-RH-don-t-start-without-a-config-file.patch} (72%)
create mode 100644 meta-oe/recipes-support/multipath-tools/files/0004-RH-use-rpm-optflags-if-present.patch
rename meta-oe/recipes-support/multipath-tools/files/{0025-RH-add-mpathconf.patch => 0005-RH-add-mpathconf.patch} (90%)
rename meta-oe/recipes-support/multipath-tools/files/{0026-RH-add-wwids-from-kernel-cmdline-mpath.wwids-with-A.patch => 0006-RH-add-wwids-from-kernel-cmdline-mpath.wwids-with-A.patch} (86%)
rename meta-oe/recipes-support/multipath-tools/files/{0027-RH-warn-on-invalid-regex-instead-of-failing.patch => 0007-RH-warn-on-invalid-regex-instead-of-failing.patch} (76%)
rename meta-oe/recipes-support/multipath-tools/files/{0028-RH-reset-default-find_mutipaths-value-to-off.patch => 0008-RH-reset-default-find_mutipaths-value-to-off.patch} (70%)
create mode 100644 meta-oe/recipes-support/multipath-tools/files/0009-multipath-tools-modify-create-config.mk-for-cross-co.patch
create mode 100644 meta-oe/recipes-support/multipath-tools/files/0010-Subject-PATCH-Always-use-devmapper.patch
rename meta-oe/recipes-support/multipath-tools/files/{0001-fix-bug-of-do_compile-and-do_install.patch => 0011-fix-bug-of-do_compile-and-do_install.patch} (80%)
rename meta-oe/recipes-support/multipath-tools/files/{0001-add-explicit-dependency-on-libraries.patch => 0012-add-explicit-dependency-on-libraries.patch} (83%)
delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0021-RH-fixup-udev-rules-for-redhat.patch
delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0024-RH-use-rpm-optflags-if-present.patch
delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0029-multipath-tools-modify-Makefile.inc-for-cross-compil.patch
delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0030-Always-use-devmapper.patch
delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0031-Always-use-devmapper-for-kpartx.patch
delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0032-libdmmp-Makefile-replace-perl-with-sed-in-install-ta.patch
rename meta-oe/recipes-support/multipath-tools/{multipath-tools_0.9.3.bb => multipath-tools_0.9.8.bb} (80%)meta-oe/recipes-support/multipath-tools/files/0001-RH-fixup-udev-rules-for-redhat.patch new file +74 -0
@@ -0,0 +1,74 @@ +From 1e1ba9ecc16895bf472eae345d44631b65629611 Mon Sep 17 00:00:00 2001 +From: Benjamin Marzinski <[email protected]> +Date: Thu, 13 Apr 2017 07:22:23 -0500 +Subject: [PATCH 01/12] RH: fixup udev rules for redhat + +The multipath rules need to run after scsi_id is run. This means moving +them after 60-persistent-storage.rules for redhat. Redhat also uses a +different naming scheme for partitions than SuSE. Also, there are some +false warnings that gcc throws because of the changed options. Fix these +too. + +Signed-off-by: Benjamin Marzinski <[email protected]> + +[OP: Rebase to 0.9.3] +Signed-off-by: Ovidiu Panait <[email protected]> + +Rebase to 0.9.8 +Signed-off-by: Changqing Li <[email protected]> +--- + Makefile.inc | 2 +- + kpartx/kpartx.rules | 2 +- + multipath/Makefile | 4 ++-- + 3 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/Makefile.inc b/Makefile.inc +index 5668e638..de89b21f 100644 +--- a/Makefile.inc ++++ b/Makefile.inc +@@ -59,7 +59,7 @@ tmpfilesdir := $(systemd_prefix)lib/tmpfiles.d + modulesloaddir := $(systemd_prefix)lib/modules-load.d + libudevdir := $(systemd_prefix)lib/udev + udevrulesdir := $(libudevdir)/rules.d +-bindir := $(exec_prefix)sbin ++bindir := $(exec_prefix)/usr/sbin + mandir := $(usr_prefix)share/man + LIB := $(if $(shell test -d /lib64 && echo 1),lib64,lib) + syslibdir := $(prefix)$(LIB) +diff --git a/kpartx/kpartx.rules b/kpartx/kpartx.rules +index 1969dee0..d2b28233 100644 +--- a/kpartx/kpartx.rules ++++ b/kpartx/kpartx.rules +@@ -39,6 +39,6 @@ LABEL="mpath_kpartx_end" + GOTO="kpartx_end" + + LABEL="run_kpartx" +-RUN+="/sbin/kpartx -un -p -part /dev/$name" ++RUN+="/sbin/kpartx -un /dev/$name" + + LABEL="kpartx_end" +diff --git a/multipath/Makefile b/multipath/Makefile +index 67fb5e62..2ea9e528 100644 +--- a/multipath/Makefile ++++ b/multipath/Makefile +@@ -27,7 +27,7 @@ install: + $(Q)$(INSTALL_PROGRAM) -d $(DESTDIR)$(udevrulesdir) + $(Q)$(INSTALL_PROGRAM) -m 644 11-dm-mpath.rules $(DESTDIR)$(udevrulesdir) + $(Q)$(INSTALL_PROGRAM) -m 644 99-z-dm-mpath-late.rules $(DESTDIR)$(udevrulesdir) +- $(Q)$(INSTALL_PROGRAM) -m 644 multipath.rules $(DESTDIR)$(udevrulesdir)/56-multipath.rules ++ $(Q)$(INSTALL_PROGRAM) -m 644 multipath.rules $(DESTDIR)$(udevrulesdir)/62-multipath.rules + $(Q)$(INSTALL_PROGRAM) -d $(DESTDIR)$(tmpfilesdir) + $(Q)$(INSTALL_PROGRAM) -m 644 tmpfiles.conf $(DESTDIR)$(tmpfilesdir)/multipath.conf + $(Q)$(INSTALL_PROGRAM) -d $(DESTDIR)$(mandir)/man8 +@@ -50,7 +50,7 @@ uninstall: + $(Q)$(RM) $(DESTDIR)$(udevrulesdir)/99-z-dm-mpath-late.rules + $(Q)$(RM) $(DESTDIR)$(modulesloaddir)/multipath.conf + $(Q)$(RM) $(DESTDIR)$(modulesloaddir)/scsi_dh.conf +- $(Q)$(RM) $(DESTDIR)$(libudevdir)/rules.d/56-multipath.rules ++ $(Q)$(RM) $(DESTDIR)$(libudevdir)/rules.d/62-multipath.rules + $(Q)$(RM) $(DESTDIR)$(mandir)/man8/$(EXEC).8 + $(Q)$(RM) $(DESTDIR)$(mandir)/man5/$(EXEC).conf.5 + $(Q)$(RM) $(DESTDIR)$(tmpfilesdir)/multipath.conf +-- +2.25.1 +
meta-oe/recipes-support/multipath-tools/files/0002-RH-Remove-the-property-blacklist-exception-builtin.patch renamed from meta-oe/recipes-support/multipath-tools/files/0022-RH-Remove-the-property-blacklist-exception-builtin.patch +22 -17
@@ -1,7 +1,7 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 -00:00:00 2001 From:Benjamin Marzinski <[email protected]> Date: Wed, 2 Jul -2014 12:49:53 -0500 Subject: [PATCH] RH: Remove the property blacklist -exception builtin +From bb6db01cc19940bb5162c1cc0c9b5f8e4c209822 Mon Sep 17 00:00:00 2001 +From: Changqing Li <[email protected]> +Date: Fri, 1 Mar 2024 10:34:06 +0800 +Subject: [PATCH 02/12] RH: Remove the property blacklist exception builtin Multipath set the default property blacklist exceptions to (ID_SCSI_VPD|ID_WWN). This has the effect of blacklisting some internal
@@ -15,31 +15,36 @@ Signed-off-by: Benjamin Marzinski <[email protected]> Upsteam-Status: Pending -Update patch to 0.8.2 -Signed-off-by: Changqing Li <[email protected]> [OP: Rebase to 0.9.3] Signed-off-by: Ovidiu Panait <[email protected]> ---- -Upstream-Status: Pending - libmultipath/blacklist.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) +Rebase to 0.9.8 +Signed-off-by: Changqing Li <[email protected]> +--- + libmultipath/blacklist.c | 16 +++++----------- + 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/libmultipath/blacklist.c b/libmultipath/blacklist.c -index 8d15d2ea..820b0d68 100644 +index 75100b20..4fdaca76 100644 --- a/libmultipath/blacklist.c +++ b/libmultipath/blacklist.c -@@ -198,9 +198,6 @@ setup_default_blist (struct config * conf) +@@ -221,15 +221,6 @@ setup_default_blist (struct config * conf) struct hwentry *hwe; int i; -- if (store_ble(conf->blist_devnode, "!^(sd[a-z]|dasd[a-z]|nvme[0-9])", ORIGIN_DEFAULT)) -- return 1; -- +- if (nvme_multipath_enabled()) { +- if (store_ble(conf->blist_devnode, "!^(sd[a-z]|dasd[a-z])", +- ORIGIN_DEFAULT)) +- return 1; +- } else { +- if (store_ble(conf->blist_devnode, "!^(sd[a-z]|dasd[a-z]|nvme[0-9])", +- ORIGIN_DEFAULT)) +- return 1; +- } if (store_ble(conf->elist_property, "(SCSI_IDENT_|ID_WWN)", ORIGIN_DEFAULT)) return 1; -@@ -435,8 +432,11 @@ filter_property(const struct config *conf, struct udev_device *udev, +@@ -464,8 +455,11 @@ filter_property(const struct config *conf, struct udev_device *udev, r = MATCH_NOTHING; }
@@ -54,5 +59,5 @@ index 8d15d2ea..820b0d68 100644 static void free_ble(struct blentry *ble) -- -2.38.1 +2.25.1
meta-oe/recipes-support/multipath-tools/files/0003-RH-don-t-start-without-a-config-file.patch renamed from meta-oe/recipes-support/multipath-tools/files/0023-RH-don-t-start-without-a-config-file.patch +26 -28
106 lines not on this page · raw message
meta-oe/recipes-support/multipath-tools/files/0004-RH-use-rpm-optflags-if-present.patch new file +55 -0
55 lines not on this page · raw message
meta-oe/recipes-support/multipath-tools/files/0005-RH-add-mpathconf.patch renamed from meta-oe/recipes-support/multipath-tools/files/0025-RH-add-mpathconf.patch +33 -35
104 lines not on this page · raw message
meta-oe/recipes-support/multipath-tools/files/0006-RH-add-wwids-from-kernel-cmdline-mpath.wwids-with-A.patch renamed from meta-oe/recipes-support/multipath-tools/files/0026-RH-add-wwids-from-kernel-cmdline-mpath.wwids-with-A.patch +8 -15
@@ -1,14 +1,7 @@ -From 262de33671ede81e424344ea9125d9e546cf8612 Mon Sep 17 00:00:00 2001 +From f93248d8e3598ccdc42b6d639107917c9cda268c Mon Sep 17 00:00:00 2001 From: Changqing Li <[email protected]> Date: Thu, 26 Sep 2019 16:29:48 +0800 -Subject: [PATCH] From 0000000000000000000000000000000000000000 Mon Sep - -17 - 00:00:00 2001 From: Benjamin Marzinski <[email protected]> Date: Fri, -17 - Oct 2014 11:20:34 -0500 Subject: [PATCH] RH: add wwids from kernel -cmdline - mpath.wwids with -A +Subject: [PATCH 06/12] RH: add wwids from kernel cmdline mpath.wwids with -A This patch adds another option to multipath, "-A", which reads /proc/cmdline for mpath.wwid=<WWID> options, and adds any wwids it finds
@@ -23,21 +16,21 @@ Signed-off-by: Benjamin Marzinski <[email protected]> Upstream-Status: Pending -Update this patch to new version 0.8.2 - -Signed-off-by: Changqing Li <[email protected]> [OP: Rebase to 0.9.3] Signed-off-by: Ovidiu Panait <[email protected]> + +Rebase to 0.9.8 +Signed-off-by: Changqing Li <[email protected]> --- libmultipath/wwids.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ libmultipath/wwids.h | 1 + 2 files changed, 45 insertions(+) diff --git a/libmultipath/wwids.c b/libmultipath/wwids.c -index 89bb60ca..bab9aa85 100644 +index 591cd09b..b01f1b85 100644 --- a/libmultipath/wwids.c +++ b/libmultipath/wwids.c -@@ -451,3 +451,47 @@ int unmark_failed_wwid(const char *wwid) +@@ -439,3 +439,47 @@ int unmark_failed_wwid(const char *wwid) print_failed_wwid_result("unmark_failed", wwid, r); return r; }
@@ -98,5 +91,5 @@ index 0c6ee54d..e32a0b0e 100644 enum { WWID_IS_NOT_FAILED = 0, -- -2.38.1 +2.25.1
meta-oe/recipes-support/multipath-tools/files/0007-RH-warn-on-invalid-regex-instead-of-failing.patch renamed from meta-oe/recipes-support/multipath-tools/files/0027-RH-warn-on-invalid-regex-instead-of-failing.patch +17 -19
@@ -1,7 +1,7 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 -00:00:00 2001 From: Benjamin Marzinski <[email protected]> Date: Mon, 6 Nov -2017 21:39:28 -0600 Subject: [PATCH] RH: warn on invalid regex instead of -failing +From 49d0b0279f54ceb96878e8e72e828efbb84a534c Mon Sep 17 00:00:00 2001 +From: Changqing Li <[email protected]> +Date: Fri, 1 Mar 2024 11:45:10 +0800 +Subject: [PATCH 07/12] RH: warn on invalid regex instead of failing multipath.conf used to allow "*" as a match everything regular expression, instead of requiring ".*". Instead of erroring when the old style
@@ -12,21 +12,21 @@ Signed-off-by: Benjamin Marzinski <[email protected]> Upstream-Status: Pending -update this patch to 0.8.2 - -Signed-off-by: Changqing Li <[email protected]> [OP: Rebase to 0.9.3] [OP: adjusted FREE() -> free(), made set_regex_value() static] Signed-off-by: Ovidiu Panait <[email protected]> + +Rebase to 0.9.8 +Signed-off-by: Changqing Li <[email protected]> --- - libmultipath/dict.c | 42 +++++++++++++++++++++++++++++++++++------- - 1 file changed, 35 insertions(+), 7 deletions(-) + libmultipath/dict.c | 40 ++++++++++++++++++++++++++++++++++------ + 1 file changed, 34 insertions(+), 6 deletions(-) diff --git a/libmultipath/dict.c b/libmultipath/dict.c -index aa93fe43..55a22d32 100644 +index 5af036b7..e494419d 100644 --- a/libmultipath/dict.c +++ b/libmultipath/dict.c -@@ -155,6 +155,34 @@ set_str_noslash(vector strvec, void *ptr, const char *file, int line_nr) +@@ -189,6 +189,34 @@ set_str_noslash(vector strvec, void *ptr, const char *file, int line_nr) return 0; }
@@ -61,18 +61,16 @@ index aa93fe43..55a22d32 100644 static int set_yes_no(vector strvec, void *ptr, const char *file, int line_nr) { -@@ -1679,8 +1707,8 @@ ble_ ## option ## _handler (struct config *conf, vector strvec, \ - \ +@@ -1798,7 +1826,7 @@ ble_ ## option ## _handler (struct config *conf, vector strvec, \ if (!conf->option) \ return 1; \ -- \ + \ - buff = set_value(strvec); \ -+ \ + buff = set_regex_value(strvec); \ if (!buff) \ return 1; \ \ -@@ -1700,7 +1728,7 @@ ble_ ## option ## _ ## name ## _handler (struct config *conf, vector strvec, \ +@@ -1818,7 +1846,7 @@ ble_ ## option ## _ ## name ## _handler (struct config *conf, vector strvec, \ if (!conf->option) \ return 1; \ \
@@ -81,7 +79,7 @@ index aa93fe43..55a22d32 100644 if (!buff) \ return 1; \ \ -@@ -1806,16 +1834,16 @@ device_handler(struct config *conf, vector strvec, const char *file, +@@ -1924,16 +1952,16 @@ device_handler(struct config *conf, vector strvec, const char *file, return 0; }
@@ -101,7 +99,7 @@ index aa93fe43..55a22d32 100644 +declare_hw_handler(bl_product, set_regex) declare_hw_snprint(bl_product, print_str) - declare_hw_handler(hwhandler, set_str) + declare_hw_arg_str_handler(hwhandler, 0) -- -2.38.1 +2.25.1
meta-oe/recipes-support/multipath-tools/files/0008-RH-reset-default-find_mutipaths-value-to-off.patch renamed from meta-oe/recipes-support/multipath-tools/files/0028-RH-reset-default-find_mutipaths-value-to-off.patch +6 -10
@@ -1,10 +1,7 @@ -From 16900150e02e5b367a8b33621b393975ad011130 Mon Sep 17 00:00:00 2001 +From fcba3e0d4c8448a2510025acb255c7335413bf56 Mon Sep 17 00:00:00 2001 From: Changqing Li <[email protected]> Date: Mon, 26 Nov 2018 11:12:01 +0800 -Subject: [PATCH] From 0000000000000000000000000000000000000000 Mon Sep 17 - 00:00:00 2001 From: Benjamin Marzinski <[email protected]> Date: Thu, 7 Jun - 2018 17:43:52 -0500 Subject: [PATCH] RH: reset default find_mutipaths value - to off +Subject: [PATCH 08/12] RH: reset default find_mutipaths value to off Upstream has changed to default find_multipaths to "strict". For now Redhat will retain the previous default of "off".
@@ -13,18 +10,17 @@ Signed-off-by: Benjamin Marzinski <[email protected]> Upstream-Status: Pending -Update this patch to new version - +Rebase to 0.9.8 Signed-off-by: Changqing Li <[email protected]> --- libmultipath/defaults.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmultipath/defaults.h b/libmultipath/defaults.h -index 6576939..a2404b2 100644 +index 64b633f2..a06a8a41 100644 --- a/libmultipath/defaults.h +++ b/libmultipath/defaults.h -@@ -17,7 +17,7 @@ +@@ -23,7 +23,7 @@ #define DEFAULT_NO_PATH_RETRY NO_PATH_RETRY_UNDEF #define DEFAULT_VERBOSITY 2 #define DEFAULT_REASSIGN_MAPS 0
@@ -34,5 +30,5 @@ index 6576939..a2404b2 100644 #define DEFAULT_DEV_LOSS_TMO 600 #define DEFAULT_RETAIN_HWHANDLER RETAIN_HWHANDLER_ON -- -2.7.4 +2.25.1
meta-oe/recipes-support/multipath-tools/files/0009-multipath-tools-modify-create-config.mk-for-cross-co.patch new file +40 -0
@@ -0,0 +1,40 @@ +From 7452549e572b1c40aefe25524bf4bbbf34c952e5 Mon Sep 17 00:00:00 2001 +From: Changqing Li <[email protected]> +Date: Tue, 4 Jun 2019 11:39:39 +0800 +Subject: [PATCH 09/12] multipath-tools: modify create-config.mk for + cross-compilation + +Do not look for systemd info on the host, and allow us to pass in CFLAGS +using the OPTFLAGS variable. + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Joe Slater <[email protected]> + +[OP: Rebase to 0.9.3] +Signed-off-by: Ovidiu Panait <[email protected]> + +Rebase to 0.9.8 +Signed-off-by: Changqing Li <[email protected]> +--- + create-config.mk | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/create-config.mk b/create-config.mk +index 4d318b96..a65975ba 100644 +--- a/create-config.mk ++++ b/create-config.mk +@@ -127,10 +127,6 @@ ifeq ($(ENABLE_DMEVENTS_POLL),0) + DEFINES += -DNO_DMEVENTS_POLL + endif + +-SYSTEMD := $(strip $(or $(shell $(PKG_CONFIG) --modversion libsystemd 2>/dev/null | awk '{print $$1}'), \ +- $(shell systemctl --version 2>/dev/null | sed -n 's/systemd \([0-9]*\).*/\1/p'))) +- +- + # $(call TEST_CC_OPTION,option,fallback) + # Test if the C compiler supports the option. + # Evaluates to "option" if yes, and "fallback" otherwise. +-- +2.25.1 +
meta-oe/recipes-support/multipath-tools/files/0010-Subject-PATCH-Always-use-devmapper.patch new file +72 -0
72 lines not on this page · raw message
meta-oe/recipes-support/multipath-tools/files/0011-fix-bug-of-do_compile-and-do_install.patch renamed from meta-oe/recipes-support/multipath-tools/files/0001-fix-bug-of-do_compile-and-do_install.patch +5 -7
@@ -1,7 +1,7 @@ -From 51f1f351262a31d94c10504e4d135526c6a7caeb Mon Sep 17 00:00:00 2001 +From 949070286692dfff89213792571da233fe82e440 Mon Sep 17 00:00:00 2001 From: Wang Mingyu <[email protected]> Date: Sun, 10 May 2020 21:22:53 +0800 -Subject: [PATCH] fix bug of do_compile and do_install +Subject: [PATCH 11/12] fix bug of do_compile and do_install when multiple processes make run in parallel, because of dependency error will occur.
@@ -12,16 +12,14 @@ Signed-off-by: Wang Mingyu <[email protected]> [OP: Drop dependencies that are already present in the 0.9.3 Makefile] Signed-off-by: Ovidiu Panait <[email protected]> --- -Upstream-Status: Pending - Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile -index 27b4641f..f195b570 100644 +index 4df5f161..065249c2 100644 --- a/Makefile +++ b/Makefile -@@ -79,6 +79,16 @@ libmpathpersist libmpathvalid multipath multipathd: libmultipath +@@ -91,6 +91,16 @@ libmpathpersist libmpathvalid multipath multipathd: libmultipath libmultipath/prioritizers libmultipath/checkers libmultipath/foreign: libmultipath mpathpersist multipathd: libmpathpersist
@@ -39,5 +37,5 @@ index 27b4641f..f195b570 100644 libmultipath/prioritizers.install \ libmultipath/foreign.install: libmultipath.install -- -2.38.1 +2.25.1
meta-oe/recipes-support/multipath-tools/files/0012-add-explicit-dependency-on-libraries.patch renamed from meta-oe/recipes-support/multipath-tools/files/0001-add-explicit-dependency-on-libraries.patch +5 -5
@@ -1,7 +1,7 @@ -From ee9f7b6e764be5668bc958f8bb97a46e5056d050 Mon Sep 17 00:00:00 2001 +From 7a46f43682641436464579d8bf76c382e71ea557 Mon Sep 17 00:00:00 2001 From: Hongxu Jia <[email protected]> Date: Mon, 25 May 2020 23:22:55 -0700 -Subject: [PATCH] add explicit dependency on libraries +Subject: [PATCH 12/12] add explicit dependency on libraries [snip] gcc/i686-overc-linux/10.1.0/ld: cannot find -lmpathpersist
@@ -24,10 +24,10 @@ Signed-off-by: Ovidiu Panait <[email protected]> 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile -index f195b570..2d22881c 100644 +index 065249c2..0444c2ea 100644 --- a/Makefile +++ b/Makefile -@@ -78,6 +78,7 @@ libmultipath: libmpathutil +@@ -90,6 +90,7 @@ libmultipath: libmpathutil libmpathpersist libmpathvalid multipath multipathd: libmultipath libmultipath/prioritizers libmultipath/checkers libmultipath/foreign: libmultipath mpathpersist multipathd: libmpathpersist
@@ -36,5 +36,5 @@ index f195b570..2d22881c 100644 DEPS_ON_MULTIPATH := \ multipath \ -- -2.38.1 +2.25.1
meta-oe/recipes-support/multipath-tools/files/0021-RH-fixup-udev-rules-for-redhat.patch deleted +0 -76
76 lines not on this page · raw message
meta-oe/recipes-support/multipath-tools/files/0024-RH-use-rpm-optflags-if-present.patch deleted +0 -74
74 lines not on this page · raw message
meta-oe/recipes-support/multipath-tools/files/0029-multipath-tools-modify-Makefile.inc-for-cross-compil.patch deleted +0 -59
59 lines not on this page · raw message
meta-oe/recipes-support/multipath-tools/files/0030-Always-use-devmapper.patch deleted +0 -77
77 lines not on this page · raw message
meta-oe/recipes-support/multipath-tools/files/0031-Always-use-devmapper-for-kpartx.patch deleted +0 -45
45 lines not on this page · raw message
meta-oe/recipes-support/multipath-tools/files/0032-libdmmp-Makefile-replace-perl-with-sed-in-install-ta.patch deleted +0 -44
44 lines not on this page · raw message
meta-oe/recipes-support/multipath-tools/multipath-tools_0.9.8.bb renamed from meta-oe/recipes-support/multipath-tools/multipath-tools_0.9.3.bb +14 -15
@@ -32,25 +32,23 @@ LICENSE = "GPL-2.0-only" SRC_URI = "git://github.com/opensvc/multipath-tools.git;protocol=https;branch=master \ file://multipathd.oe \ file://multipath.conf.example \ - file://0021-RH-fixup-udev-rules-for-redhat.patch \ - file://0022-RH-Remove-the-property-blacklist-exception-builtin.patch \ - file://0023-RH-don-t-start-without-a-config-file.patch \ - file://0024-RH-use-rpm-optflags-if-present.patch \ - file://0025-RH-add-mpathconf.patch \ - file://0026-RH-add-wwids-from-kernel-cmdline-mpath.wwids-with-A.patch \ - file://0027-RH-warn-on-invalid-regex-instead-of-failing.patch \ - file://0028-RH-reset-default-find_mutipaths-value-to-off.patch \ - file://0029-multipath-tools-modify-Makefile.inc-for-cross-compil.patch \ - file://0030-Always-use-devmapper.patch \ - file://0031-Always-use-devmapper-for-kpartx.patch \ - file://0032-libdmmp-Makefile-replace-perl-with-sed-in-install-ta.patch \ - file://0001-fix-bug-of-do_compile-and-do_install.patch \ - file://0001-add-explicit-dependency-on-libraries.patch \ + file://0001-RH-fixup-udev-rules-for-redhat.patch \ + file://0002-RH-Remove-the-property-blacklist-exception-builtin.patch \ + file://0003-RH-don-t-start-without-a-config-file.patch \ + file://0004-RH-use-rpm-optflags-if-present.patch \ + file://0005-RH-add-mpathconf.patch \ + file://0006-RH-add-wwids-from-kernel-cmdline-mpath.wwids-with-A.patch \ + file://0007-RH-warn-on-invalid-regex-instead-of-failing.patch \ + file://0008-RH-reset-default-find_mutipaths-value-to-off.patch \ + file://0009-multipath-tools-modify-create-config.mk-for-cross-co.patch \ + file://0010-Subject-PATCH-Always-use-devmapper.patch \ + file://0011-fix-bug-of-do_compile-and-do_install.patch \ + file://0012-add-explicit-dependency-on-libraries.patch \ " LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" -SRCREV = "1332947447133fdf26246012b836868a3d974f0e" +SRCREV = "3daacfdfd110b24a3a7d5a276dcf8512b7039199" S = "${WORKDIR}/git"
@@ -103,6 +101,7 @@ do_install() { ${D}${sysconfdir}/multipath.conf.example } +FILES:${PN} += "${systemd_system_unitdir}" FILES:${PN}-dbg += "${base_libdir}/multipath/.debug" PACKAGES =+ "${PN}-libs"
Signature · 1 line
2.25.1