aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-12-29pacemaker: use main branchhardknottMingli Yu
Use the main branch to fix do_fetch error. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.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> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2021-12-29recipes: 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-07-01layer.conf: add hardknott to LAYERSERIES_COMPATChen Qi
Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.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-11-13layer.conf: add gatesgarthJeremy A. Puhlman
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-05kernel: Remove non-existing kernel optionHe Zhe
CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE has been removed from mainline kernel by commit be6ec88f41ba ("selinux: Remove SECURITY_SELINUX_BOOTPARAM_VALUE"). Ref: http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto/commit/?id=be6ec88 Signed-off-by: He Zhe <zhe.he@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-16initramfs-cgl-boot: Use common MIT licenseJeremy Puhlman
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-24layer.conf: add dunfellJeremy A. Puhlman
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-03-24Move packagegroups to recipes-core for consistancy sakeJeremy A. Puhlman
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-03-24initramfs-cgl-boot: Do not presume layer is inside corebaseJeremy 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-24libmailtools-perl: update 2.21Jeremy Puhlman
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-03-24libsocket6-perl: update to 0.29Jeremy Puhlman
* license checksum changed because they add more info above the license. Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-03-24libwww-perl: update to 6.43Jeremy Puhlman
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-03-24linux-yocto: Update the append for 5.xJeremy A. Puhlman
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2020-03-24core-image-cgl-*: Move to recipe directoryJeremy A. Puhlman
* lsb content has been moved out to meta-lsb. * Configure image to build with or with out lsb image present. * Add warning about CGL compliance and lsb requirement and option to squelch warning. 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>
2020-03-24Add zeus to compat listJeremy 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>
2019-09-02pacemaker: upgrade 1.1.19 -> 1.1.21Changqing Li
License-Update: update e-mail address and URL Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2019-09-02libwww-perl: 6.35 -> 6.36Changqing Li
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2019-08-28crmsh: and RDEPENDS on bashwarriorJoe Slater
Several test scripts need /bin/bash instead of /bin/sh. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2019-08-28kernel: fix the recipe that changes signaturesLi Zhou
When test using "yocto-check-layer-wrapper .../meta-cgl --dependency xxx", error occurs: FAIL: test_signatures (common.CommonCheckLayer) linux-yocto:do_fetch: 84ac07191eb371845b8773179913d4f1 -> c36d7d453aca36c5e8dd30644a2e9963 ... basehash changed from 3a89fab4c77b51a9ef3ece5eb1270759 to 1e9697c5c2a85520ea36ec5845125f8e Variable SRC_URI value changed:... test_signatures are tests to be sure that BSP and DISTRO layers do not come with recipes that change signatures, so here remove the NULL SRC_URI operation. Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2019-07-19cluster-glue: use git fetcher instead of the tarball sourceMingli Yu
Per http://hg.linux-ha.org/, the repo moves to https://github.com/ClusterLabs/cluster-glue and since commit [21f84fc insane: add sanity checks to SRC_URI] applied in oe-core, do not use unstable github archive tarballs, so use git instead. Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2019-07-19packagegroup-cgl-applications: only install libpam and pam-passwdqc if pam ↵Yi Zhao
distro flag set Fix build error when pam distro flag is not set: $ bitbake packagegroup-cgl-applications ERROR: Nothing RPROVIDES 'pam-passwdqc' (but /buildarea/poky/meta-cgl/meta-cgl-common/packagegroups/packagegroup-cgl-applications.bb RDEPENDS on or otherwise requires it) ERROR: Nothing RPROVIDES 'libpam' (but /buildarea/poky/meta-cgl/meta-cgl-common/packagegroups/packagegroup-cgl-applications.bb RDEPENDS on or otherwise requires it) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>