mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 07:37:14 +00:00
multipath-tools: upgrade 0.11.3 -> 0.12.1
Update 0004-RH-use-rpm-optflags-if-present.patch for 0.12.1. Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+15
-9
@@ -19,23 +19,26 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
|
|||||||
|
|
||||||
Rebase to 0.10.0
|
Rebase to 0.10.0
|
||||||
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
|
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
|
||||||
|
|
||||||
|
Rebase to 0.12.1
|
||||||
|
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
|
||||||
---
|
---
|
||||||
Makefile.inc | 12 ++++++++++--
|
Makefile.inc | 12 ++++++++++--
|
||||||
1 file changed, 10 insertions(+), 2 deletions(-)
|
1 file changed, 10 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
diff --git a/Makefile.inc b/Makefile.inc
|
diff --git a/Makefile.inc b/Makefile.inc
|
||||||
index 596e68c0..42766867 100644
|
index d04a3175..eb339251 100644
|
||||||
--- a/Makefile.inc
|
--- a/Makefile.inc
|
||||||
+++ b/Makefile.inc
|
+++ b/Makefile.inc
|
||||||
@@ -99,7 +99,15 @@ SYSTEMD_LIBDEPS := $(if $(SYSTEMD),$(if $(shell test $(SYSTEMD) -gt 209 && echo
|
@@ -102,7 +102,15 @@ SYSTEMD_LIBDEPS := $(if $(SYSTEMD),$(if $(shell test $(SYSTEMD) -gt 209 && echo
|
||||||
MODPROBE_UNIT := $(shell test "0$(SYSTEMD)" -lt 245 2>/dev/null || \
|
MODPROBE_UNIT := $(shell test "0$(SYSTEMD)" -lt 245 2>/dev/null || \
|
||||||
echo "modprobe@dm_multipath.service")
|
echo "modprobe@dm_multipath.service")
|
||||||
|
|
||||||
-OPTFLAGS := -O2 -g $(STACKPROT) --param=ssp-buffer-size=4
|
-OPTFLAGS := -O2 -g $(STACKPROT) --param=ssp-buffer-size=4
|
||||||
+ifndef RPM_OPT_FLAGS
|
+ifndef RPM_OPT_FLAGS
|
||||||
+ OPTFLAGS := -O2 -g $(STACKPROT) --param=ssp-buffer-size=4
|
+ OPTFLAGS := -O2 -g $(STACKPROT) --param=ssp-buffer-size=4
|
||||||
+else
|
+else
|
||||||
+ OPTFLAGS = $(RPM_OPT_FLAGS)
|
+ OPTFLAGS = $(RPM_OPT_FLAGS)
|
||||||
+endif
|
+endif
|
||||||
+OPTFLAGS += -Wextra -Wstrict-prototypes -Wformat=0 -Werror=implicit-int \
|
+OPTFLAGS += -Wextra -Wstrict-prototypes -Wformat=0 -Werror=implicit-int \
|
||||||
+ -Werror=implicit-function-declaration -Wno-sign-compare \
|
+ -Werror=implicit-function-declaration -Wno-sign-compare \
|
||||||
@@ -44,12 +47,15 @@ index 596e68c0..42766867 100644
|
|||||||
|
|
||||||
# Set WARN_ONLY=1 to avoid compilation erroring out due to warnings. Useful during development.
|
# Set WARN_ONLY=1 to avoid compilation erroring out due to warnings. Useful during development.
|
||||||
WARN_ONLY :=
|
WARN_ONLY :=
|
||||||
@@ -115,7 +123,7 @@ CPPFLAGS := $(FORTIFY_OPT) $(CPPFLAGS) $(D_URCU_VERSION) \
|
@@ -121,7 +129,7 @@ CPPFLAGS := $(FORTIFY_OPT) $(CPPFLAGS) $(D_URCU_VERSION) \
|
||||||
-DRUNTIME_DIR=\"$(runtimedir)\" -DCONFIG_DIR=\"$(TGTDIR)$(configdir)\" \
|
-DABSTRACT_SOCKET=\"$(abstract_socket)\" -DPATHNAME_SOCKET=\"$(pathname_socket)\" \
|
||||||
-DDEFAULT_CONFIGFILE=\"$(TGTDIR)$(configfile)\" -DSTATE_DIR=\"$(TGTDIR)$(statedir)\" \
|
-DWSTRINGOP_TRUNCATION=$(if $(WSTRINGOP_TRUNCATION),1,0) \
|
||||||
-DEXTRAVERSION=\"$(EXTRAVERSION)\" -MMD -MP
|
-MMD -MP
|
||||||
-CFLAGS := -std=$(C_STD) $(CFLAGS) $(OPTFLAGS) $(WARNFLAGS) -pipe \
|
-CFLAGS := -std=$(C_STD) $(CFLAGS) $(OPTFLAGS) $(WARNFLAGS) -pipe \
|
||||||
+CFLAGS := -std=$(C_STD) $(CFLAGS) $(OPTFLAGS) -pipe \
|
+CFLAGS := -std=$(C_STD) $(CFLAGS) $(OPTFLAGS) -pipe \
|
||||||
-fexceptions
|
-fexceptions
|
||||||
BIN_CFLAGS := -fPIE -DPIE
|
BIN_CFLAGS := -fPIE -DPIE
|
||||||
LIB_CFLAGS := -fPIC
|
LIB_CFLAGS := -fPIC
|
||||||
|
--
|
||||||
|
2.43.0
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -29,7 +29,7 @@ DEPENDS = "libdevmapper \
|
|||||||
|
|
||||||
LICENSE = "GPL-2.0-only"
|
LICENSE = "GPL-2.0-only"
|
||||||
|
|
||||||
SRC_URI = "git://github.com/opensvc/multipath-tools.git;protocol=https;branch=stable-0.11.y \
|
SRC_URI = "git://github.com/opensvc/multipath-tools.git;protocol=https;branch=stable-0.12.y \
|
||||||
file://multipathd.oe \
|
file://multipathd.oe \
|
||||||
file://multipath.conf.example \
|
file://multipath.conf.example \
|
||||||
file://0001-RH-fixup-udev-rules-for-redhat.patch \
|
file://0001-RH-fixup-udev-rules-for-redhat.patch \
|
||||||
@@ -49,7 +49,7 @@ SRC_URI = "git://github.com/opensvc/multipath-tools.git;protocol=https;branch=st
|
|||||||
|
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=9ec28527f3d544b51ceb0e1907d0bf3f"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=9ec28527f3d544b51ceb0e1907d0bf3f"
|
||||||
|
|
||||||
SRCREV = "7a84cc602ea0884ae0c767e6c89592059012db04"
|
SRCREV = "a1f7f3d5b4972c39e8950c722a04c21a9e030a31"
|
||||||
|
|
||||||
|
|
||||||
inherit systemd pkgconfig
|
inherit systemd pkgconfig
|
||||||
Reference in New Issue
Block a user