diff options
| -rw-r--r-- | meta-oe/recipes-support/multipath-tools/files/0004-RH-use-rpm-optflags-if-present.patch | 24 | ||||
| -rw-r--r-- | meta-oe/recipes-support/multipath-tools/multipath-tools_0.12.1.bb (renamed from meta-oe/recipes-support/multipath-tools/multipath-tools_0.11.3.bb) | 4 |
2 files changed, 17 insertions, 11 deletions
diff --git a/meta-oe/recipes-support/multipath-tools/files/0004-RH-use-rpm-optflags-if-present.patch b/meta-oe/recipes-support/multipath-tools/files/0004-RH-use-rpm-optflags-if-present.patch index 5f65ceaa29..8fad8d5645 100644 --- a/meta-oe/recipes-support/multipath-tools/files/0004-RH-use-rpm-optflags-if-present.patch +++ b/meta-oe/recipes-support/multipath-tools/files/0004-RH-use-rpm-optflags-if-present.patch | |||
| @@ -19,23 +19,26 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com> | |||
| 19 | 19 | ||
| 20 | Rebase to 0.10.0 | 20 | Rebase to 0.10.0 |
| 21 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | 21 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> |
| 22 | |||
| 23 | Rebase to 0.12.1 | ||
| 24 | Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> | ||
| 22 | --- | 25 | --- |
| 23 | Makefile.inc | 12 ++++++++++-- | 26 | Makefile.inc | 12 ++++++++++-- |
| 24 | 1 file changed, 10 insertions(+), 2 deletions(-) | 27 | 1 file changed, 10 insertions(+), 2 deletions(-) |
| 25 | 28 | ||
| 26 | diff --git a/Makefile.inc b/Makefile.inc | 29 | diff --git a/Makefile.inc b/Makefile.inc |
| 27 | index 596e68c0..42766867 100644 | 30 | index d04a3175..eb339251 100644 |
| 28 | --- a/Makefile.inc | 31 | --- a/Makefile.inc |
| 29 | +++ b/Makefile.inc | 32 | +++ b/Makefile.inc |
| 30 | @@ -99,7 +99,15 @@ SYSTEMD_LIBDEPS := $(if $(SYSTEMD),$(if $(shell test $(SYSTEMD) -gt 209 && echo | 33 | @@ -102,7 +102,15 @@ SYSTEMD_LIBDEPS := $(if $(SYSTEMD),$(if $(shell test $(SYSTEMD) -gt 209 && echo |
| 31 | MODPROBE_UNIT := $(shell test "0$(SYSTEMD)" -lt 245 2>/dev/null || \ | 34 | MODPROBE_UNIT := $(shell test "0$(SYSTEMD)" -lt 245 2>/dev/null || \ |
| 32 | echo "modprobe@dm_multipath.service") | 35 | echo "modprobe@dm_multipath.service") |
| 33 | 36 | ||
| 34 | -OPTFLAGS := -O2 -g $(STACKPROT) --param=ssp-buffer-size=4 | 37 | -OPTFLAGS := -O2 -g $(STACKPROT) --param=ssp-buffer-size=4 |
| 35 | +ifndef RPM_OPT_FLAGS | 38 | +ifndef RPM_OPT_FLAGS |
| 36 | + OPTFLAGS := -O2 -g $(STACKPROT) --param=ssp-buffer-size=4 | 39 | + OPTFLAGS := -O2 -g $(STACKPROT) --param=ssp-buffer-size=4 |
| 37 | +else | 40 | +else |
| 38 | + OPTFLAGS = $(RPM_OPT_FLAGS) | 41 | + OPTFLAGS = $(RPM_OPT_FLAGS) |
| 39 | +endif | 42 | +endif |
| 40 | +OPTFLAGS += -Wextra -Wstrict-prototypes -Wformat=0 -Werror=implicit-int \ | 43 | +OPTFLAGS += -Wextra -Wstrict-prototypes -Wformat=0 -Werror=implicit-int \ |
| 41 | + -Werror=implicit-function-declaration -Wno-sign-compare \ | 44 | + -Werror=implicit-function-declaration -Wno-sign-compare \ |
| @@ -44,12 +47,15 @@ index 596e68c0..42766867 100644 | |||
| 44 | 47 | ||
| 45 | # Set WARN_ONLY=1 to avoid compilation erroring out due to warnings. Useful during development. | 48 | # Set WARN_ONLY=1 to avoid compilation erroring out due to warnings. Useful during development. |
| 46 | WARN_ONLY := | 49 | WARN_ONLY := |
| 47 | @@ -115,7 +123,7 @@ CPPFLAGS := $(FORTIFY_OPT) $(CPPFLAGS) $(D_URCU_VERSION) \ | 50 | @@ -121,7 +129,7 @@ CPPFLAGS := $(FORTIFY_OPT) $(CPPFLAGS) $(D_URCU_VERSION) \ |
| 48 | -DRUNTIME_DIR=\"$(runtimedir)\" -DCONFIG_DIR=\"$(TGTDIR)$(configdir)\" \ | 51 | -DABSTRACT_SOCKET=\"$(abstract_socket)\" -DPATHNAME_SOCKET=\"$(pathname_socket)\" \ |
| 49 | -DDEFAULT_CONFIGFILE=\"$(TGTDIR)$(configfile)\" -DSTATE_DIR=\"$(TGTDIR)$(statedir)\" \ | 52 | -DWSTRINGOP_TRUNCATION=$(if $(WSTRINGOP_TRUNCATION),1,0) \ |
| 50 | -DEXTRAVERSION=\"$(EXTRAVERSION)\" -MMD -MP | 53 | -MMD -MP |
| 51 | -CFLAGS := -std=$(C_STD) $(CFLAGS) $(OPTFLAGS) $(WARNFLAGS) -pipe \ | 54 | -CFLAGS := -std=$(C_STD) $(CFLAGS) $(OPTFLAGS) $(WARNFLAGS) -pipe \ |
| 52 | +CFLAGS := -std=$(C_STD) $(CFLAGS) $(OPTFLAGS) -pipe \ | 55 | +CFLAGS := -std=$(C_STD) $(CFLAGS) $(OPTFLAGS) -pipe \ |
| 53 | -fexceptions | 56 | -fexceptions |
| 54 | BIN_CFLAGS := -fPIE -DPIE | 57 | BIN_CFLAGS := -fPIE -DPIE |
| 55 | LIB_CFLAGS := -fPIC | 58 | LIB_CFLAGS := -fPIC |
| 59 | -- | ||
| 60 | 2.43.0 | ||
| 61 | |||
diff --git a/meta-oe/recipes-support/multipath-tools/multipath-tools_0.11.3.bb b/meta-oe/recipes-support/multipath-tools/multipath-tools_0.12.1.bb index 8e26d4c2a8..20d9b6a1b5 100644 --- a/meta-oe/recipes-support/multipath-tools/multipath-tools_0.11.3.bb +++ b/meta-oe/recipes-support/multipath-tools/multipath-tools_0.12.1.bb | |||
| @@ -29,7 +29,7 @@ DEPENDS = "libdevmapper \ | |||
| 29 | 29 | ||
| 30 | LICENSE = "GPL-2.0-only" | 30 | LICENSE = "GPL-2.0-only" |
| 31 | 31 | ||
| 32 | SRC_URI = "git://github.com/opensvc/multipath-tools.git;protocol=https;branch=stable-0.11.y \ | 32 | SRC_URI = "git://github.com/opensvc/multipath-tools.git;protocol=https;branch=stable-0.12.y \ |
| 33 | file://multipathd.oe \ | 33 | file://multipathd.oe \ |
| 34 | file://multipath.conf.example \ | 34 | file://multipath.conf.example \ |
| 35 | file://0001-RH-fixup-udev-rules-for-redhat.patch \ | 35 | 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 | |||
| 49 | 49 | ||
| 50 | LIC_FILES_CHKSUM = "file://COPYING;md5=9ec28527f3d544b51ceb0e1907d0bf3f" | 50 | LIC_FILES_CHKSUM = "file://COPYING;md5=9ec28527f3d544b51ceb0e1907d0bf3f" |
| 51 | 51 | ||
| 52 | SRCREV = "7a84cc602ea0884ae0c767e6c89592059012db04" | 52 | SRCREV = "a1f7f3d5b4972c39e8950c722a04c21a9e030a31" |
| 53 | 53 | ||
| 54 | 54 | ||
| 55 | inherit systemd pkgconfig | 55 | inherit systemd pkgconfig |
