aboutsummaryrefslogtreecommitdiffstats
path: root/meta-cgl-common/recipes-cgl
AgeCommit message (Collapse)Author
2024-01-23resource-agents: Fix buildpaths warning.Wang Mingyu
WARNING: resource-agents-4.5.0-r0 do_package_qa: QA Issue: File /usr/lib/ocf/lib/heartbeat/ocf-binaries in package resource-agents contains reference to TMPDIR [buildpaths] Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2023-10-16resource-agents: Fix error when do_patchWang Mingyu
To fix conflict when do_patch: ERROR: resource-agents-4.5.0-r0 do_patch: QA Issue: Fuzz detected: Applying patch autoconf-2.73.patch patching file configure.ac Hunk #1 succeeded at 883 with fuzz 2. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
2023-09-15resource-agents: Fix build error with autoconf-2.73.Lei Maohui
resource-agents is built failed after poky upgraded autoconf to 2.73. Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
2023-04-24pacemaker: Remove build host pathSoumya
File installed by pacemaker-cli-utils contains path of build host. Signed-off-by: Soumya <soumya.sambu@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2022-10-03resource-agents: set correct path of rm command in ldirectord.serviceYi Zhao
Fix buildpaths warning: WARNING: resource-agents-4.5.0-r0 do_package_qa: QA Issue: File /lib/systemd/system/ldirectord.service in package ldirectord contains reference to TMPDIR [buildpaths] Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2022-08-11resource-agents: Bug fix.leimaohui
Fix error as the fowllowing: resource-agents-4.5.0-r0 do_package_qa: QA Issue: lib32-resource-agents installs files in /var/volatile, but it is expected to be empty [empty-dirs] Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2022-04-25LICENSE: update to standard SPDX namesJoe Slater
Use convert-spdx-licenses.py to change LICENSE in two recipes. Signed-off-by: Joe Slater <joe.slater@windriver.com>
2022-04-08resource-agents: Update LICENSE variableMingli Yu
Update LICENSE variable to use SPDX license identifiers. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2022-04-08pacemaker: Update LICENSE variableMingli Yu
Update LICENSE variable to use SPDX license identifiers. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2022-04-08cluster-glue: Update LICENSE variableMingli Yu
Update LICENSE variable to use SPDX license identifiers. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2022-04-08ocfs2-tools: Update LICENSE variableMingli Yu
Update LICENSE variable to use SPDX license identifiers. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2022-04-08crmsh: Update LICENSE variableMingli Yu
Update LICENSE variable to use SPDX license identifiers. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2022-01-18cluster-glue: add UPSTREAM_CHECK_GITTAGREGEXYi Zhao
Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest version. Before the patch: $ devtool latest-version cluster-glue INFO: Current version: 1.0.12 INFO: Latest version: 10 INFO: Latest version's commit: 62fac3c02affab05abe39c185dad3a91367d3f58 After the patch: $ devtool latest-version cluster-glue INFO: Current version: 1.0.12 INFO: Latest version: 1.0.12 INFO: Latest version's commit: 1bc77825c0cfb0c80f9c82a061af7ede68676cb4 Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
2022-01-18ocfs2-tools: add UPSTREAM_CHECK_GITTAGREGEXYi Zhao
Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest version. Before the patch: $ devtool latest-version ocfs2-tools INFO: Current version: 1.8.6 INFO: Latest version: 2 INFO: Latest version's commit: 80a60d697d9052d3f196a932df3d1fb5f0df52d6 After the patch: $ devtool latest-version ocfs2-tools INFO: Current version: 1.8.6 INFO: Latest version: 1.8.7 INFO: Latest version's commit: 80a60d697d9052d3f196a932df3d1fb5f0df52d6 Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
2022-01-18resource-agents: add UPSTREAM_CHECK_GITTAGREGEXYi Zhao
Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest version. Before the patch: $ devtool latest-version resource-agents INFO: Current version: 4.5.0 INFO: Latest version: 10 INFO: Latest version's commit: 5cf93783eafa22e8b82d50834bfb76b9e8434783 After the patch: $ devtool latest-version resource-agents INFO: Current version: 4.5.0 INFO: Latest version: 4.10.0 INFO: Latest version's commit: fd0720f73a06042ad0a5475a3398096b2912cf5f Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
2021-12-29pacemaker: use main branchMingli Yu
Use the main branch to fix do_fetch error. Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
2021-12-29resource-agents: use branch mainKai Kang
Branch master has been removed from resource-agents upstream git repo. Use branch main instead. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2021-11-05recipes: update SRC_URI branch and protocolsYi Zhao
Update SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2021-10-26crmsh: add UPSTREAM_CHECK_GITTAGREGEXYi Zhao
Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest version. Before the patch: $ devtool latest-version crmsh INFO: Current version: 4.3.1 INFO: Latest version: 12 INFO: Latest version's commit: 3308c27651a3657a019d7dc313435060f68454c5 After the patch: $ devtool latest-version crmsh INFO: Current version: 4.3.1 INFO: Latest version: 4.3.1 INFO: Latest version's commit: 00ec69054edecd068deda54c6184c0385d90ebd2 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2021-10-26crmsh: fix deprecation on collections.MutableSetYi Zhao
Python 3.10 removes the deprecated aliases to collections abstract base clases [1]. Using 'collections.abc.MutableSet' instead of 'collections.MutableSet' [1]: https://bugs.python.org/issue37324 Fixes: $ crm Traceback (most recent call last): File "/usr/bin/crm", line 29, in <module> from crmsh import main File "/usr/lib64/python3.10/site-packages/crmsh/main.py", line 18, in <module> from . import ui_root File "/usr/lib64/python3.10/site-packages/crmsh/ui_root.py", line 23, in <module> from . import ui_cib File "/usr/lib64/python3.10/site-packages/crmsh/ui_cib.py", line 16, in <module> from .cibconfig import cib_factory File "/usr/lib64/python3.10/site-packages/crmsh/cibconfig.py", line 23, in <module> from . import orderedset File "/usr/lib64/python3.10/site-packages/crmsh/orderedset.py", line 29, in <module> class OrderedSet(collections.MutableSet): AttributeError: module 'collections' has no attribute 'MutableSet' Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2021-08-05crmsh: upgrade 4.2.0 -> 4.3.1Yi Zhao
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
2021-08-05meta-cgl: convert to new override syntaxYi Zhao
This is the result of automated script conversion: poky/scripts/contrib/convert-overrides.py meta-cgl Converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
2021-04-13pacemaker: upgrade 2.0.3 -> 2.0.5Yi Zhao
Drop backported patches: 0001-Mark-declaration-with-extern.patch 0006-Fix-tools-Fix-definition-of-curses_indented_printf.patch Rebase patches: 0001-Fix-python3-usage.patch 0001-pacemaker-fix-compile-error-of-musl-libc.patch Remove /var/log directory in do_install and create /var/log/pacemaker directory in volatile file. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-10-26resource-agents: use /run instead of /var/run in systemd service fileChen Qi
/var/run has been deprecated by systemd, so use /run instead, as suggested by systemd. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-10-26heartbeat: don't use trailing slash in SMingli Yu
* see oe-core base.bbclass changes from: https://lists.openembedded.org/g/openembedded-core/message/143159 https://lists.openembedded.org/g/openembedded-core/message/143161 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-10-12cluster-glue: improve reproducibilityMingli Yu
Set ssh path rather than using hosttools to remove the build path in the files such as drac5, kdumpcheck and etc. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-10-05ucarp: add initscripts-functions as runtime dependency when using systemdYi Zhao
The ucarp.service invokes script /usr/libexec/ucarp to start/stop the ucarp service. But the /etc/init.d/functions file which is required by the script is not installed by default when using systemd. Explicitly set the initscripts-functions package as the runtime dependency when using systemd. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-10-05ocfs2-tools: remove lsbinitscripts from RDEPENDSRobert Yang
The LSB support had been removed from oe-core by: https://git.openembedded.org/openembedded-core/commit/?id=fb06435 And it works well to start o2cb/ocfs2 services without lsbinitscripts. So drop LSB support for ocfs2-tools too. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-10-05crmsh: remove python-setuptools-native from DEPENDSChen Qi
Current version of crmsh uses python3-setuptools, which is from setuptools3.bbclass. So we can safely remove this python2 dependency. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-10-05pacemaker: Fix build with -fno-commonMingli Yu
Starting with GCC >= 10.x, -fno-common is used as default instead of -fcommon. Make the function definiton extern to fix the build failure. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-10-05pacemaker: improve reproducibilityMingli Yu
Remove the build path info from the files such as crm_master, crm_report and etc to improve reproducibility. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-10-05resource-agents: remove the build path from script ocf-binariesYue Tao
After upgrading 4.5.0, the script ocf-binaries contains the build path | : ${SSH:=/path/to/build/tmp-glibc/hosttools/ssh} Add a configure option to replace it with /usr/bin/ssh. Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-10-05ucarp: fix build error with gcc-10Chen Qi
Add a patch to use __attribute__((packed)) to replace __packed to avoid multiple definition build error with gcc10. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-08-09ucarp: force to use TLS1.2 during do_fetchMingli Yu
There comes below error when use buildtools [1]: $ bitbake -cfetch ucarp [snip] --2020-07-17 06:39:31-- https://download.pureftpd.org/pub/ucarp/ucarp-1.5.2.tar.gz Resolving download.pureftpd.org... 37.59.238.213 Connecting to download.pureftpd.org|37.59.238.213|:443... connected. GnuTLS: A TLS fatal alert has been received. GnuTLS: received alert [70]: Error in protocol version Unable to establish SSL connection. And can simply use below step to reproduce the above error. $ wget https://download.pureftpd.org/pub/ucarp/ucarp-1.5.2.tar.gz --2020-07-17 06:43:36-- https://download.pureftpd.org/pub/ucarp/ucarp-1.5.2.tar.gz Resolving download.pureftpd.org... 37.59.238.213 Connecting to download.pureftpd.org|37.59.238.213|:443... connected. GnuTLS: A TLS fatal alert has been received. GnuTLS: received alert [70]: Error in protocol version Unable to establish SSL connection. $ wget --version GNU Wget 1.20.3 built on linux-gnu. Currently wget uses gnutls as the ssl backend as the below logic in layers/openembedded-core/meta/recipes-extended/wget/wget.inc PACKAGECONFIG[gnutls] = "--with-ssl=gnutls,,gnutls" Check the link https://download.pureftpd.org/pub/ucarp/ and found the file https://download.pureftpd.org/pub/ucarp/ucarp-1.5.2.tar.gz already 10 years ago. ucarp-1.5.2.tar.gz 31-Jan-2010 22:06 429089 Meanwhile we can use gnutls-cli-debug to diagnose the download.pureftpd.org which hosts ucarp and it doesn't support TLS 1.3 but supports TLS 1.2 instead as below. $ gnutls-cli-debug 37.59.238.213 GnuTLS debug client 3.6.4 Checking 37.59.238.213:443 whether we need to disable TLS 1.2... no whether we need to disable TLS 1.1... no whether we need to disable TLS 1.0... no whether %NO_EXTENSIONS is required... no whether %COMPAT is required... yes for TLS 1.0 (RFC2246) support... no for TLS 1.0 (RFC2246) support with TLS 1.0 record version... no for TLS 1.1 (RFC4346) support... no fallback from TLS 1.1 to... failed for TLS 1.2 (RFC5246) support... yes for TLS 1.3 (RFC8446) support... no [snip] $ wget --secure-protocol=TLSv1_2 https://download.pureftpd.org/pub/ucarp/ucarp-1.5.2.tar.gz --2020-07-17 07:07:08-- https://download.pureftpd.org/pub/ucarp/ucarp-1.5.2.tar.gz Resolving download.pureftpd.org... 37.59.238.213 Connecting to download.pureftpd.org|37.59.238.213|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 429089 (419K) [text/plain] Saving to: 'ucarp-1.5.2.tar.gz' ucarp-1.5.2.tar.gz 100%[===================>] 419.03K 432KB/s in 1.0s 2020-07-17 07:07:16 (432 KB/s) - 'ucarp-1.5.2.tar.gz' saved [429089/429089] Considering gnutls doesn't fallback to TLS 1.2 automatically, so force ucarp to use TLS1.2 to fix the above do_fetch error. [1] https://www.yoctoproject.org/docs/3.1/ref-manual/ref-manual.html#building-your-own-buildtools-tarball Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-08-08ucarp: don't hardcode the path for ifconfigMingli Yu
Don't hardcode the path for the ifconfig command in case the path for ifconfig on the system may be different from the hardcoded. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-04-01crmsh: add python3-* rdependsMingli Yu
crmsh switches to python3 after crmsh upgrade to 4.20 in the commit[059be42 crmsh: Update to 4.20], so update the RDEPENDS to fix below error: # crm status Fatal error: No module named 'lxml' # crm status Fatal error: No module named 'parallax' Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-03-25resource-agents: fix QA issueChen Qi
Fix the following QA issue. ERROR: resource-agents-4.5.0-r0 do_package: QA Issue: resource-agents: Files/directories were installed but not shipped in any package: /usr/lib/tmpfiles.d /usr/lib/tmpfiles.d/resource-agents.conf /lib/systemd/system/resource-agents-deps.target Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-03-25pacemaker: add missing patch for python3 usageJeremy Puhlman
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-03-24Update racoon2 to build in dumfellJeremy Puhlman
* Move to https://github.com/zoulasc/racoon2 which appears to be actively maintained(rather then no changes in 10 years) * Refresh patches for current * Drop patches to .in file and move to more correct patches * Fix up issue with building from all .am files. Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-03-24pacemaker: Update to 2.0.3Jeremy A. Puhlman
Drop unneeded patches moving some in to metadata. Fix up for building 2.0.3 Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-03-24ocfs2-tools: update to 1.8.6Jeremy A. Puhlman
* Drop patcehes moved upstream. * Update license for address changes in document Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-03-24crmsh: Update to 4.20Jeremy Puhlman
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-03-24monit: Lives in meta-oe now, removeJeremy A. Puhlman
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-03-24resource-agents: Update to 4.5.0Jeremy Puhlman
Refesh patches. Drop already encorperated Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-03-24cluster-glue: Update to currentJeremy Puhlman
* Fix various mutlilib issues. * Update python3 issues * License updates were change of address for FSF Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-03-24pacemaker: fix depend issues for py2 removalJeremy Puhlman
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-03-24cluster-glue: fix depend issues for py2 removalJeremy Puhlman
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-03-24pacemaker: fix parse errors due to python2 removalJeremy Puhlman
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-03-24crmsh: fix parse errors due to python2 removalJeremy Puhlman
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2019-09-02monit: upgrade 5.25.2 -> 5.26.0Changqing Li
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>