crmsh: refresh patch to fix QA warning
PATCH 1/3 crmsh: refresh patch to fix QA warning
Refresh patch with devtool command to fix do_patch warning.
--- .../recipes-cgl/crmsh/crmsh/tweaks_for_build.patch | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-)
meta-cgl-common/recipes-cgl/crmsh/crmsh/tweaks_for_build.patch +14 -5
@@ -1,3 +1,8 @@ +From 11704324287f9f552e1524f4a680b8744abd0361 Mon Sep 17 00:00:00 2001 +From: Kai Kang <[email protected]> +Date: Fri, 9 Jun 2017 11:04:56 +0800 +Subject: [PATCH] crmsh: disable network access for xsltproc when building + Upstream-Status: Inappropriate [embedded specific] Pass option '--catalogs' to xsltproc via a2x to avoid network access.
@@ -7,12 +12,16 @@ Add option '--install-lib' of python setup.py to install python libraries to right place. Signed-off-by: Kai Kang <[email protected]> + --- + Makefile.am | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + diff --git a/Makefile.am b/Makefile.am -index d89affb..0f2361f 100644 +index 1ffe9c3..3d045e7 100644 --- a/Makefile.am +++ b/Makefile.am -@@ -47,7 +47,7 @@ endif +@@ -45,7 +45,7 @@ endif $(ASCIIDOC) --unsafe --backend=xhtml11 $< %.8: %.8.adoc
@@ -21,11 +30,11 @@ index d89affb..0f2361f 100644 # Shared data files install-data-hook: -@@ -79,6 +79,7 @@ install-exec-local: - -mkdir -p $(DESTDIR)$(pkgpythondir) +@@ -73,6 +73,7 @@ install-exec-local: $(PYTHON) $(srcdir)/setup.py install \ + --root $(DESTDIR)/// \ $(python_prefix) \ + --install-lib $(pythondir) \ --record $(DESTDIR)$(pkgpythondir)/install_files.txt \ --verbose - $(INSTALL) -d -m 770 $(DESTDIR)/$(CRM_CACHE_DIR) + $(INSTALL) -d -m 770 $(DESTDIR)$(CRM_CACHE_DIR)
Signature · 1 line
2.7.4
PATCH 2/3 pacemaker: refresh patches to fix QA warning
Refresh patches with devtool command to fix do_patch warning.
--- .../pacemaker/0001-pacemaker-fix-xml-config.patch | 14 ++++++-------- ...earch-header-from-STAGING_INCDIR-to-walka.patch | 10 ++++------ .../0003-pacemaker-fix-header-defs-lookup.patch | 12 +++++------- .../0004-pacemaker-do-not-build-help.patch | 12 +++++------- ...o-not-execute-target-program-while-cross-.patch | 12 +++++------- ...006-pacemaker-do-not-use-libgnutls-config.patch | 22 +++++++++++++--------- .../pacemaker/pacemaker/fix_missing_qb_array.patch | 21 ++++++++++++++------- .../pacemaker/set-OCF_ROOT_DIR-to-libdir-ocf.patch | 6 ++---- 8 files changed, 54 insertions(+), 55 deletions(-) mode change 100755 => 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0001-pacemaker-fix-xml-config.patch mode change 100755 => 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0003-pacemaker-fix-header-defs-lookup.patch mode change 100755 => 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0004-pacemaker-do-not-build-help.patch mode change 100755 => 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0005-pacemaker-do-not-execute-target-program-while-cross-.patch mode change 100755 => 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0006-pacemaker-do-not-use-libgnutls-config.patch
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0001-pacemaker-fix-xml-config.patch +6 -8
@@ -1,18 +1,19 @@ -From a6b792b9abb26e810ad9ca11be31998c7e97db6c Mon Sep 17 00:00:00 2001 +From a55e235f56bc6e894e79fa200c39678e06ef985e Mon Sep 17 00:00:00 2001 From: Bian Naimeng <[email protected]> Date: Fri, 3 Jul 2015 15:48:58 +0900 -Subject: [PATCH 1/2] pacemaker: fix xml config +Subject: [PATCH] pacemaker: fix xml config Signed-off-by: Bian Naimeng <[email protected]> + --- configure.ac | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/configure.ac b/configure.ac -index 03f543d..25af918 100644 +index 7195f9b..5e420f2 100644 --- a/configure.ac +++ b/configure.ac -@@ -533,7 +533,6 @@ AC_PATH_PROGS(TAR, tar) +@@ -557,7 +557,6 @@ AC_PATH_PROGS(TAR, tar) AC_PATH_PROGS(MD5, md5) AC_PATH_PROGS(TEST, test) AC_PATH_PROGS(PKGCONFIG, pkg-config)
@@ -20,7 +21,7 @@ index 03f543d..25af918 100644 AC_PATH_PROGS(VALGRIND_BIN, valgrind, /usr/bin/valgrind) AC_DEFINE_UNQUOTED(VALGRIND_BIN, "$VALGRIND_BIN", Valgrind command) -@@ -779,17 +778,13 @@ dnl AC_CHECK_HEADERS(netinet/icmp6.h) +@@ -807,17 +806,13 @@ dnl AC_CHECK_HEADERS(netinet/icmp6.h) dnl AC_CHECK_HEADERS(netinet/ip6.h) dnl AC_CHECK_HEADERS(netinet/ip_icmp.h)
@@ -44,6 +45,3 @@ index 03f543d..25af918 100644 AC_CHECK_HEADERS(libxml/xpath.h) AC_CHECK_HEADERS(libxslt/xslt.h) --- -1.8.4.2 -
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0002-pacemaker-search-header-from-STAGING_INCDIR-to-walka.patch +4 -6
@@ -1,4 +1,4 @@ -From f2ab529af7ab31d265dd3e9a53e074317982dffd Mon Sep 17 00:00:00 2001 +From 844ec301031b0e6a3000c793906ba476f08a1e65 Mon Sep 17 00:00:00 2001 From: Li xin <[email protected]> Date: Wed, 27 Dec 2017 05:20:45 +0000 Subject: [PATCH] pacemaker: search header from STAGING_INCDIR to walkaround
@@ -16,15 +16,16 @@ Upstream-Status: pending Signed-off-by: Bian Naimeng <[email protected]> Signed-off-by: Li Xin <[email protected]> Signed-off-by: Mingli Yu <[email protected]> + --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac -index 36ccb01..2eade3c 100644 +index 5e420f2..5d442a5 100644 --- a/configure.ac +++ b/configure.ac -@@ -483,6 +483,9 @@ esac +@@ -484,6 +484,9 @@ esac dnl Eventually remove this if test "$cross_compiling" != "yes"; then CPPFLAGS="$CPPFLAGS -I${prefix}/include/heartbeat"
@@ -34,6 +35,3 @@ index 36ccb01..2eade3c 100644 fi AC_SUBST(INIT_EXT) --- -2.11.0 -
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0003-pacemaker-fix-header-defs-lookup.patch +5 -7
@@ -1,18 +1,19 @@ -From 1a84908d57291a82e35eaa9369144a398e2265bf Mon Sep 17 00:00:00 2001 +From 9236fa746d43adb098c2946e72e8b29ffbc78865 Mon Sep 17 00:00:00 2001 From: Bian Naimeng <[email protected]> Date: Fri, 3 Jul 2015 16:30:25 +0900 -Subject: [PATCH 4/4] pacemaker: fix header defs lookup +Subject: [PATCH] pacemaker: fix header defs lookup Signed-off-by: Bian Naimeng <[email protected]> + --- configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac -index cb47011..d37eccf 100644 +index 5d442a5..1429b01 100644 --- a/configure.ac +++ b/configure.ac -@@ -141,9 +141,8 @@ extract_header_define() { +@@ -147,9 +147,8 @@ extract_header_define() { Cfile=$srcdir/extract_define.$2.${$} printf "#include <stdio.h>\n" > ${Cfile}.c printf "#include <%s>\n" $1 >> ${Cfile}.c
@@ -24,6 +25,3 @@ index cb47011..d37eccf 100644 AC_MSG_RESULT($value) printf $value rm -rf ${Cfile}.c ${Cfile} ${Cfile}.dSYM ${Cfile}.gcno --- -1.8.4.2 -
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0004-pacemaker-do-not-build-help.patch +5 -7
@@ -1,18 +1,19 @@ -From cba9add61c72c734af8a7a16ad33e62457413ed8 Mon Sep 17 00:00:00 2001 +From cda171512fc8dc0aa385290e1f7644ff222e5f18 Mon Sep 17 00:00:00 2001 From: Bian Naimeng <[email protected]> Date: Fri, 3 Jul 2015 17:27:52 +0900 -Subject: [PATCH 5/5] pacemaker: do not build help +Subject: [PATCH] pacemaker: do not build help Signed-off-by: Bian Naimeng <[email protected]> + --- configure.ac | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac -index d37eccf..3c08524 100644 +index 1429b01..e930e33 100644 --- a/configure.ac +++ b/configure.ac -@@ -549,10 +549,7 @@ if test x"${MAKE}" = x""; then +@@ -574,10 +574,7 @@ if test x"${MAKE}" = x""; then AC_MSG_ERROR(You need (g)make installed in order to build ${PACKAGE}) fi
@@ -24,6 +25,3 @@ index d37eccf..3c08524 100644 MANPAGE_XSLT="" if test x"${XSLTPROC}" != x""; then --- -1.8.4.2 -
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0005-pacemaker-do-not-execute-target-program-while-cross-.patch +5 -7
@@ -1,15 +1,16 @@ -From 9ad877d3f4294e5aa8b479cc81fa10250134ccc3 Mon Sep 17 00:00:00 2001 +From e8c4b9d98ef15aa7fb02a68b1d7fe9c008cc8bfd Mon Sep 17 00:00:00 2001 From: Bian Naimeng <[email protected]> Date: Mon, 6 Jul 2015 12:20:17 +0900 Subject: [PATCH] pacemaker: do not execute target program while cross compile Signed-off-by: Bian Naimeng <[email protected]> + --- Makefile.common | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile.common b/Makefile.common -index 5163261..630cab6 100644 +index d73ad04..8973f91 100644 --- a/Makefile.common +++ b/Makefile.common @@ -36,6 +36,8 @@ if BUILD_HELP
@@ -20,9 +21,9 @@ index 5163261..630cab6 100644 + %.8: % $(MAN8DEPS) chmod a+x $(abs_builddir)/$< - $(PCMK_V) PATH=$$PATH:$(abs_builddir) $(abs_builddir)/$< --help + $(PCMK_V) PATH=$(abs_builddir):$$PATH $(abs_builddir)/$< --help @@ -43,13 +45,13 @@ endif - $(AM_V_MAN)PATH=$$PATH:$(abs_builddir) $(HELP2MAN) --output $@ --no-info --section 8 --name "Part of the Pacemaker cluster resource manager" $(abs_builddir)/$< + $(AM_V_MAN)PATH=$(abs_builddir):$$PATH $(HELP2MAN) --output $@ --no-info --section 8 --name "Part of the Pacemaker cluster resource manager" $(abs_builddir)/$< %.xml: % - $(AM_V_GEN)$(abs_builddir)/$< metadata > $@
@@ -38,6 +39,3 @@ index 5163261..630cab6 100644 # Build docbook from asciidoc because XML is a PITA to edit # --- -1.8.4.2 -
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0006-pacemaker-do-not-use-libgnutls-config.patch +13 -9
@@ -1,22 +1,26 @@ -commit bb26b7c290473af988aa9d4132ef55ca907091e6 -Author: Joe Slater <[email protected]> -Date: Mon Mar 11 15:47:54 2013 -0700 +From 5148e0a7e3cd4293416b969f2c563faa6aca27b2 Mon Sep 17 00:00:00 2001 +From: Joe Slater <[email protected]> +Date: Mon, 11 Mar 2013 15:47:54 -0700 +Subject: [PATCH] pacemaker: do not use libgnutls-config - pacemaker: do not use libgnutls-config - - Do not try to use libgnutls-config when configuring. - It has been deprecated and we do not supply it. If a - host version is found, bad things can happen. +Do not try to use libgnutls-config when configuring. +It has been deprecated and we do not supply it. If a +host version is found, bad things can happen. Upstream-Status: Inappropriate [OE specific] Signed-off-by: Joe Slater <[email protected]> Signed-off-by: Jackie Huang <[email protected]> +--- + configure.ac | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) +diff --git a/configure.ac b/configure.ac +index e930e33..2eade3c 100644 --- a/configure.ac +++ b/configure.ac -@@ -1427,9 +1427,9 @@ dnl ==================================== +@@ -1707,9 +1707,9 @@ dnl ======================================================================== AC_CHECK_HEADERS(gnutls/gnutls.h) AC_CHECK_HEADERS(security/pam_appl.h pam/pam_appl.h)
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/fix_missing_qb_array.patch +14 -7
@@ -1,4 +1,7 @@ -fix missing header file +From 69676e090be6bd4e6d73fae6eeae7d8dbea9f218 Mon Sep 17 00:00:00 2001 +From: Armin Kuster <[email protected]> +Date: Mon, 29 May 2017 14:22:29 -0700 +Subject: [PATCH] fix missing header file mainloop.c:406:8: error: unknown type name 'qb_array_t' | static qb_array_t *gio_map = NULL;
@@ -7,15 +10,19 @@ Upstream-status: Pending Signed-off-by: Armin Kuster <[email protected]> -Index: pacemaker-Pacemaker-1.1.15/lib/common/mainloop.c -=================================================================== ---- pacemaker-Pacemaker-1.1.15.orig/lib/common/mainloop.c -+++ pacemaker-Pacemaker-1.1.15/lib/common/mainloop.c +--- + lib/common/mainloop.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/lib/common/mainloop.c b/lib/common/mainloop.c +index 385ca7d..c259c7c 100644 +--- a/lib/common/mainloop.c ++++ b/lib/common/mainloop.c @@ -32,6 +32,7 @@ #include <crm/common/xml.h> #include <crm/common/mainloop.h> #include <crm/common/ipcs.h> +#include <qb/qbarray.h> - struct mainloop_child_s { - pid_t pid; + #include <qb/qbarray.h> +
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/set-OCF_ROOT_DIR-to-libdir-ocf.patch +2 -4
@@ -1,4 +1,4 @@ -From 24c1ddc572df59061c1f4fcec6e764dcb3edac80 Mon Sep 17 00:00:00 2001 +From 588800f0e2fe52a677a19b7c59636e9f391a6e75 Mon Sep 17 00:00:00 2001 From: Mingli Yu <[email protected]> Date: Wed, 27 Dec 2017 07:14:21 +0000 Subject: [PATCH] pacemaker: set OCF_ROOT_DIR to $libdir/ocf
@@ -8,6 +8,7 @@ Subject: [PATCH] pacemaker: set OCF_ROOT_DIR to $libdir/ocf compatible Signed-off-by: Mingli Yu <[email protected]> + --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
@@ -25,6 +26,3 @@ index 2eade3c..ba290cc 100644 if test "X$OCF_ROOT_DIR" = X; then AC_MSG_ERROR(Could not locate OCF directory) fi --- -2.11.0 -
Signature · 1 line
2.7.4
Re: [meta-cgl][PATCH 2/3] pacemaker: refresh patches to fix QA warning
Hi Yi
Quoted 5 lines · Yi Zhao
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/fix_missing_qb_array.patch +5
-0+ +diff --git a/lib/common/mainloop.c b/lib/common/mainloop.c +index 385ca7d..c259c7c 100644 +--- a/lib/common/mainloop.c ++++ b/lib/common/mainloop.c
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/fix_missing_qb_array.patch Upstream-status: Pending · line 28
Quoted 10 lines
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/fix_missing_qb_array.patch +2
-2@@ -32,6 +32,7 @@ #include <crm/common/xml.h> #include <crm/common/mainloop.h> #include <crm/common/ipcs.h> +#include <qb/qbarray.h> - struct mainloop_child_s { - pid_t pid; + #include <qb/qbarray.h> +
It looks like this patch is no longer required and is just adding the same thing twice. Please check.
Re: [meta-cgl][PATCH 2/3] pacemaker: refresh patches to fix QA warning
Quoted 15 lines · Anuj Mittal
Hi Yi
Quoted 11 lines · Yi Zhao
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/fix_missing_qb_array.patch +5
-0+ +diff --git a/lib/common/mainloop.c b/lib/common/mainloop.c +index 385ca7d..c259c7c 100644 +--- a/lib/common/mainloop.c ++++ b/lib/common/mainloop.c @@ -32,6 +32,7 @@ #include <crm/common/xml.h> #include <crm/common/mainloop.h> #include <crm/common/ipcs.h> +#include <qb/qbarray.h>
Quoted 6 lines
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/fix_missing_qb_array.patch Upstream-status: Pending · line 28
Quoted 4 lines
- struct
mainloop_child_s{meta-cgl-common/recipes-cgl/pacemaker/pacemaker/fix_missing_qb_array.patch +2
-1- pid_t pid; + #include <qb/qbarray.h> +It looks like this patch is no longer required and is just adding the same thing twice. Please check.
Thanks. You are right. I will send V2.
//Yi
Quoted 1 line
PATCH v2 2/3 pacemaker: refresh patches to fix QA warning
In reply to Yi ZhaoRefresh patches with devtool command to fix do_patch warning. Remove fix_missing_qb_array.patch since it had been fixed upstream.
--- .../pacemaker/0001-pacemaker-fix-xml-config.patch | 14 ++++++-------- ...earch-header-from-STAGING_INCDIR-to-walka.patch | 10 ++++------ .../0003-pacemaker-fix-header-defs-lookup.patch | 12 +++++------- .../0004-pacemaker-do-not-build-help.patch | 12 +++++------- ...o-not-execute-target-program-while-cross-.patch | 12 +++++------- ...006-pacemaker-do-not-use-libgnutls-config.patch | 22 +++++++++++++--------- .../pacemaker/pacemaker/fix_missing_qb_array.patch | 21 --------------------- .../pacemaker/set-OCF_ROOT_DIR-to-libdir-ocf.patch | 6 ++---- .../recipes-cgl/pacemaker/pacemaker_1.1.16.bb | 1 - 9 files changed, 40 insertions(+), 70 deletions(-) mode change 100755 => 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0001-pacemaker-fix-xml-config.patch mode change 100755 => 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0003-pacemaker-fix-header-defs-lookup.patch mode change 100755 => 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0004-pacemaker-do-not-build-help.patch mode change 100755 => 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0005-pacemaker-do-not-execute-target-program-while-cross-.patch mode change 100755 => 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0006-pacemaker-do-not-use-libgnutls-config.patch delete mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/fix_missing_qb_array.patch mode change 100755 => 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0001-pacemaker-fix-xml-config.patch +6 -8
@@ -1,18 +1,19 @@ -From a6b792b9abb26e810ad9ca11be31998c7e97db6c Mon Sep 17 00:00:00 2001 +From a55e235f56bc6e894e79fa200c39678e06ef985e Mon Sep 17 00:00:00 2001 From: Bian Naimeng <[email protected]> Date: Fri, 3 Jul 2015 15:48:58 +0900 -Subject: [PATCH 1/2] pacemaker: fix xml config +Subject: [PATCH] pacemaker: fix xml config Signed-off-by: Bian Naimeng <[email protected]> + --- configure.ac | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/configure.ac b/configure.ac -index 03f543d..25af918 100644 +index 7195f9b..5e420f2 100644 --- a/configure.ac +++ b/configure.ac -@@ -533,7 +533,6 @@ AC_PATH_PROGS(TAR, tar) +@@ -557,7 +557,6 @@ AC_PATH_PROGS(TAR, tar) AC_PATH_PROGS(MD5, md5) AC_PATH_PROGS(TEST, test) AC_PATH_PROGS(PKGCONFIG, pkg-config)
@@ -20,7 +21,7 @@ index 03f543d..25af918 100644 AC_PATH_PROGS(VALGRIND_BIN, valgrind, /usr/bin/valgrind) AC_DEFINE_UNQUOTED(VALGRIND_BIN, "$VALGRIND_BIN", Valgrind command) -@@ -779,17 +778,13 @@ dnl AC_CHECK_HEADERS(netinet/icmp6.h) +@@ -807,17 +806,13 @@ dnl AC_CHECK_HEADERS(netinet/icmp6.h) dnl AC_CHECK_HEADERS(netinet/ip6.h) dnl AC_CHECK_HEADERS(netinet/ip_icmp.h)
@@ -44,6 +45,3 @@ index 03f543d..25af918 100644 AC_CHECK_HEADERS(libxml/xpath.h) AC_CHECK_HEADERS(libxslt/xslt.h) --- -1.8.4.2 -
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0002-pacemaker-search-header-from-STAGING_INCDIR-to-walka.patch +4 -6
@@ -1,4 +1,4 @@ -From f2ab529af7ab31d265dd3e9a53e074317982dffd Mon Sep 17 00:00:00 2001 +From 844ec301031b0e6a3000c793906ba476f08a1e65 Mon Sep 17 00:00:00 2001 From: Li xin <[email protected]> Date: Wed, 27 Dec 2017 05:20:45 +0000 Subject: [PATCH] pacemaker: search header from STAGING_INCDIR to walkaround
@@ -16,15 +16,16 @@ Upstream-Status: pending Signed-off-by: Bian Naimeng <[email protected]> Signed-off-by: Li Xin <[email protected]> Signed-off-by: Mingli Yu <[email protected]> + --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac -index 36ccb01..2eade3c 100644 +index 5e420f2..5d442a5 100644 --- a/configure.ac +++ b/configure.ac -@@ -483,6 +483,9 @@ esac +@@ -484,6 +484,9 @@ esac dnl Eventually remove this if test "$cross_compiling" != "yes"; then CPPFLAGS="$CPPFLAGS -I${prefix}/include/heartbeat"
@@ -34,6 +35,3 @@ index 36ccb01..2eade3c 100644 fi AC_SUBST(INIT_EXT) --- -2.11.0 -
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0003-pacemaker-fix-header-defs-lookup.patch +5 -7
@@ -1,18 +1,19 @@ -From 1a84908d57291a82e35eaa9369144a398e2265bf Mon Sep 17 00:00:00 2001 +From 9236fa746d43adb098c2946e72e8b29ffbc78865 Mon Sep 17 00:00:00 2001 From: Bian Naimeng <[email protected]> Date: Fri, 3 Jul 2015 16:30:25 +0900 -Subject: [PATCH 4/4] pacemaker: fix header defs lookup +Subject: [PATCH] pacemaker: fix header defs lookup Signed-off-by: Bian Naimeng <[email protected]> + --- configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac -index cb47011..d37eccf 100644 +index 5d442a5..1429b01 100644 --- a/configure.ac +++ b/configure.ac -@@ -141,9 +141,8 @@ extract_header_define() { +@@ -147,9 +147,8 @@ extract_header_define() { Cfile=$srcdir/extract_define.$2.${$} printf "#include <stdio.h>\n" > ${Cfile}.c printf "#include <%s>\n" $1 >> ${Cfile}.c
@@ -24,6 +25,3 @@ index cb47011..d37eccf 100644 AC_MSG_RESULT($value) printf $value rm -rf ${Cfile}.c ${Cfile} ${Cfile}.dSYM ${Cfile}.gcno --- -1.8.4.2 -
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0004-pacemaker-do-not-build-help.patch +5 -7
@@ -1,18 +1,19 @@ -From cba9add61c72c734af8a7a16ad33e62457413ed8 Mon Sep 17 00:00:00 2001 +From cda171512fc8dc0aa385290e1f7644ff222e5f18 Mon Sep 17 00:00:00 2001 From: Bian Naimeng <[email protected]> Date: Fri, 3 Jul 2015 17:27:52 +0900 -Subject: [PATCH 5/5] pacemaker: do not build help +Subject: [PATCH] pacemaker: do not build help Signed-off-by: Bian Naimeng <[email protected]> + --- configure.ac | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac -index d37eccf..3c08524 100644 +index 1429b01..e930e33 100644 --- a/configure.ac +++ b/configure.ac -@@ -549,10 +549,7 @@ if test x"${MAKE}" = x""; then +@@ -574,10 +574,7 @@ if test x"${MAKE}" = x""; then AC_MSG_ERROR(You need (g)make installed in order to build ${PACKAGE}) fi
@@ -24,6 +25,3 @@ index d37eccf..3c08524 100644 MANPAGE_XSLT="" if test x"${XSLTPROC}" != x""; then --- -1.8.4.2 -
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0005-pacemaker-do-not-execute-target-program-while-cross-.patch +5 -7
@@ -1,15 +1,16 @@ -From 9ad877d3f4294e5aa8b479cc81fa10250134ccc3 Mon Sep 17 00:00:00 2001 +From e8c4b9d98ef15aa7fb02a68b1d7fe9c008cc8bfd Mon Sep 17 00:00:00 2001 From: Bian Naimeng <[email protected]> Date: Mon, 6 Jul 2015 12:20:17 +0900 Subject: [PATCH] pacemaker: do not execute target program while cross compile Signed-off-by: Bian Naimeng <[email protected]> + --- Makefile.common | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile.common b/Makefile.common -index 5163261..630cab6 100644 +index d73ad04..8973f91 100644 --- a/Makefile.common +++ b/Makefile.common @@ -36,6 +36,8 @@ if BUILD_HELP
@@ -20,9 +21,9 @@ index 5163261..630cab6 100644 + %.8: % $(MAN8DEPS) chmod a+x $(abs_builddir)/$< - $(PCMK_V) PATH=$$PATH:$(abs_builddir) $(abs_builddir)/$< --help + $(PCMK_V) PATH=$(abs_builddir):$$PATH $(abs_builddir)/$< --help @@ -43,13 +45,13 @@ endif - $(AM_V_MAN)PATH=$$PATH:$(abs_builddir) $(HELP2MAN) --output $@ --no-info --section 8 --name "Part of the Pacemaker cluster resource manager" $(abs_builddir)/$< + $(AM_V_MAN)PATH=$(abs_builddir):$$PATH $(HELP2MAN) --output $@ --no-info --section 8 --name "Part of the Pacemaker cluster resource manager" $(abs_builddir)/$< %.xml: % - $(AM_V_GEN)$(abs_builddir)/$< metadata > $@
@@ -38,6 +39,3 @@ index 5163261..630cab6 100644 # Build docbook from asciidoc because XML is a PITA to edit # --- -1.8.4.2 -
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0006-pacemaker-do-not-use-libgnutls-config.patch +13 -9
@@ -1,22 +1,26 @@ -commit bb26b7c290473af988aa9d4132ef55ca907091e6 -Author: Joe Slater <[email protected]> -Date: Mon Mar 11 15:47:54 2013 -0700 +From 5148e0a7e3cd4293416b969f2c563faa6aca27b2 Mon Sep 17 00:00:00 2001 +From: Joe Slater <[email protected]> +Date: Mon, 11 Mar 2013 15:47:54 -0700 +Subject: [PATCH] pacemaker: do not use libgnutls-config - pacemaker: do not use libgnutls-config - - Do not try to use libgnutls-config when configuring. - It has been deprecated and we do not supply it. If a - host version is found, bad things can happen. +Do not try to use libgnutls-config when configuring. +It has been deprecated and we do not supply it. If a +host version is found, bad things can happen. Upstream-Status: Inappropriate [OE specific] Signed-off-by: Joe Slater <[email protected]> Signed-off-by: Jackie Huang <[email protected]> +--- + configure.ac | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) +diff --git a/configure.ac b/configure.ac +index e930e33..2eade3c 100644 --- a/configure.ac +++ b/configure.ac -@@ -1427,9 +1427,9 @@ dnl ==================================== +@@ -1707,9 +1707,9 @@ dnl ======================================================================== AC_CHECK_HEADERS(gnutls/gnutls.h) AC_CHECK_HEADERS(security/pam_appl.h pam/pam_appl.h)
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/fix_missing_qb_array.patch deleted +0 -21
@@ -1,21 +0,0 @@ -fix missing header file - - mainloop.c:406:8: error: unknown type name 'qb_array_t' -| static qb_array_t *gio_map = NULL; - -Upstream-status: Pending - -Signed-off-by: Armin Kuster <[email protected]> - -Index: pacemaker-Pacemaker-1.1.15/lib/common/mainloop.c -=================================================================== ---- pacemaker-Pacemaker-1.1.15.orig/lib/common/mainloop.c -+++ pacemaker-Pacemaker-1.1.15/lib/common/mainloop.c -@@ -32,6 +32,7 @@ - #include <crm/common/xml.h> - #include <crm/common/mainloop.h> - #include <crm/common/ipcs.h> -+#include <qb/qbarray.h> - - struct mainloop_child_s { - pid_t pid;
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/set-OCF_ROOT_DIR-to-libdir-ocf.patch +2 -4
@@ -1,4 +1,4 @@ -From 24c1ddc572df59061c1f4fcec6e764dcb3edac80 Mon Sep 17 00:00:00 2001 +From 588800f0e2fe52a677a19b7c59636e9f391a6e75 Mon Sep 17 00:00:00 2001 From: Mingli Yu <[email protected]> Date: Wed, 27 Dec 2017 07:14:21 +0000 Subject: [PATCH] pacemaker: set OCF_ROOT_DIR to $libdir/ocf
@@ -8,6 +8,7 @@ Subject: [PATCH] pacemaker: set OCF_ROOT_DIR to $libdir/ocf compatible Signed-off-by: Mingli Yu <[email protected]> + --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
@@ -25,6 +26,3 @@ index 2eade3c..ba290cc 100644 if test "X$OCF_ROOT_DIR" = X; then AC_MSG_ERROR(Could not locate OCF directory) fi --- -2.11.0 -
meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb +0 -1
@@ -20,7 +20,6 @@ SRC_URI = "https://github.com/ClusterLabs/${BPN}/archive/Pacemaker-${PV}.zip \ file://0004-pacemaker-do-not-build-help.patch \ file://0005-pacemaker-do-not-execute-target-program-while-cross-.patch \ file://0006-pacemaker-do-not-use-libgnutls-config.patch \ - file://fix_missing_qb_array.patch \ file://set-OCF_ROOT_DIR-to-libdir-ocf.patch \ file://volatiles \ file://tmpfiles \
Signature · 1 line
2.7.4
PATCH 3/3 resource-agents: refresh patches to fix QA warning
In reply to Yi ZhaoRefresh patches with devtool command to fix do_patch warning.
--- .../resource-agents/01-disable-doc-build.patch | 9 +++++---- .../02-set-OCF_ROOT_DIR-to-libdir-ocf.patch | 13 +++++++------ .../resource-agents/03-fix-header-defs-lookup.patch | 11 ++++++----- .../resource-agents/fix-install-sh-not-found.patch | 19 +++++++++---------- ...x-builds-when-srcdir-and-builddir-are-sepera.patch | 6 ++---- 5 files changed, 29 insertions(+), 29 deletions(-)
meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents/01-disable-doc-build.patch +5 -4
@@ -1,6 +1,10 @@ -disable doc build +From 20aca585d2f3273adc36ed0d795716fa6b29524f Mon Sep 17 00:00:00 2001 +From: Bian Naimeng <[email protected]> +Date: Tue, 30 Jun 2015 16:42:48 +0800 +Subject: [PATCH] disable doc build Signed-off-by: Bian Naimeng <[email protected]> + --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
@@ -18,6 +22,3 @@ index 1769c6e..d66b2ae 100644 LINUX_HA = without else LINUX_HA = with --- -1.8.3.1 -
meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents/02-set-OCF_ROOT_DIR-to-libdir-ocf.patch +7 -6
@@ -1,15 +1,19 @@ -Set OCF_ROOT_DIR to ${libdir}/ocf +From a62bfe802361b9b3b212afa9e2fa488a3435a0f9 Mon Sep 17 00:00:00 2001 +From: Bian Naimeng <[email protected]> +Date: Tue, 30 Jun 2015 16:42:48 +0800 +Subject: [PATCH] Set OCF_ROOT_DIR to ${libdir}/ocf Signed-off-by: Bian Naimeng <[email protected]> + --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac -index bb45717..3326b53 100644 +index 3bb0b7d..ca30182 100644 --- a/configure.ac +++ b/configure.ac -@@ -406,7 +406,7 @@ dnl Variables needed for substitution +@@ -405,7 +405,7 @@ dnl Variables needed for substitution AC_CHECK_HEADERS(heartbeat/glue_config.h) if test "$ac_cv_header_heartbeat_glue_config_h" = "yes"; then
@@ -18,6 +22,3 @@ index bb45717..3326b53 100644 else enable_libnet=no fi --- -1.8.3.1 -
meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents/03-fix-header-defs-lookup.patch +6 -5
@@ -1,12 +1,16 @@ -fix header defs lookup +From 6a8ec0557194fb5071503de95f2160361ae3427e Mon Sep 17 00:00:00 2001 +From: Bian Naimeng <[email protected]> +Date: Tue, 1 Apr 2014 16:20:39 +0200 +Subject: [PATCH] fix header defs lookup Signed-off-by: Bian Naimeng <[email protected]> + --- configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac -index 3326b53..8b5706a 100644 +index ca30182..83a698d 100644 --- a/configure.ac +++ b/configure.ac @@ -140,9 +140,8 @@ extract_header_define() {
@@ -21,6 +25,3 @@ index 3326b53..8b5706a 100644 AC_MSG_RESULT($value) printf $value rm -f ${Cfile}.c ${Cfile} --- -1.8.3.1 -
meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents/fix-install-sh-not-found.patch +9 -10
@@ -1,23 +1,25 @@ -configure.ac: fix install-sh not found +From 59dd32d063ca09a64e371768d7fc74a9954aa717 Mon Sep 17 00:00:00 2001 +From: William Grant <[email protected]> +Date: Fri, 9 Jun 2017 09:10:02 +0800 +Subject: [PATCH] configure.ac: fix install-sh not found Fix configure.ac to cope with new autoconf. Recent autoconfs generate a bad configure when AM_INIT_AUTOMAKE is called as late as it was, ending up thinking that the am_aux_dir is pwd at the start of the build. Move it up to under AC_INIT to fix that. -Author: William Grant <[email protected]> - Upstream-Status: Pending https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=724116 Signed-off-by: Hongxu Jia <[email protected]> + --- configure.ac | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac -index e8e2a7b..f3c8b9f 100644 +index 83a698d..2082d43 100644 --- a/configure.ac +++ b/configure.ac @@ -23,13 +23,20 @@ AC_INIT([resource-agents],
@@ -42,9 +44,9 @@ index e8e2a7b..f3c8b9f 100644 AC_CANONICAL_HOST dnl Where #defines go (e.g. `AC_CHECK_HEADERS' below) -@@ -56,12 +63,6 @@ AC_ARG_WITH(pkg-name, - [ --with-pkg-name=name Override package name (if you're a packager needing to pretend) ], - [ PACKAGE_NAME="$withval" ]) +@@ -76,12 +83,6 @@ AS_IF([test "x$with_systemdsystemunitdir" != "xno"], + [AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])]) + AM_CONDITIONAL([HAVE_SYSTEMD], [test "x$with_systemdsystemunitdir" != "xno"]) -dnl -dnl AM_INIT_AUTOMAKE([1.11.1 foreign dist-bzip2 dist-xz])
@@ -55,6 +57,3 @@ index e8e2a7b..f3c8b9f 100644 AC_DEFINE_UNQUOTED(AGENTS_VERSION, "$PACKAGE_VERSION", Current agents version) CC_IN_CONFIGURE=yes --- -1.8.1.2 -
meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents/fs.sh-fix-builds-when-srcdir-and-builddir-are-sepera.patch +2 -4
@@ -1,4 +1,4 @@ -From 5b7a84dbb9d06112c4b2804223163d91ba8ab786 Mon Sep 17 00:00:00 2001 +From 40227e4ac8c95fb0175cbc4856103b5ca4c6824c Mon Sep 17 00:00:00 2001 From: Jackie Huang <[email protected]> Date: Thu, 1 Jun 2017 10:34:38 +0800 Subject: [PATCH] fs.sh: fix builds when srcdir and builddir are seperated
@@ -17,6 +17,7 @@ Add abs_srcdir to fix this. Upstream-Status: Submitted [https://github.com/ClusterLabs/resource-agents/pull/986] Signed-off-by: Jackie Huang <[email protected]> + --- rgmanager/src/resources/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
@@ -34,6 +35,3 @@ index de88c69..30b3be9 100644 -e 's#@''LOGDIR@#${LOGDIR}#g' \ > [email protected] chmod +x [email protected] --- -2.11.0 -
Signature · 1 line
2.7.4