Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
resource-agents is built failed after poky upgraded autoconf to 2.73.
Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Use convert-spdx-licenses.py to change LICENSE in two recipes.
Signed-off-by: Joe Slater <joe.slater@windriver.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Use the main branch to fix do_fetch error.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
|
|
Branch master has been removed from resource-agents upstream git repo.
Use branch main instead.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
|
|
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>
|
|
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>
|
|
/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>
|
|
* 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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
|
|
* 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>
|
|
Drop unneeded patches moving some in to metadata.
Fix up for building 2.0.3
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
|
|
* Drop patcehes moved upstream.
* Update license for address changes in document
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
|
|
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
|
|
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
|
|
Refesh patches.
Drop already encorperated
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
|
|
* Fix various mutlilib issues.
* Update python3 issues
* License updates were change of address for FSF
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
|
|
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
|
|
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
|
|
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
|
|
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
|
|
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|