aboutsummaryrefslogtreecommitdiffstats
path: root/meta-cgl-common/recipes-cgl/cluster-resource-agents
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>
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-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-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-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-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>
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-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-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-24resource-agents: Update to 4.5.0Jeremy Puhlman
Refesh patches. Drop already encorperated Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
2019-06-11resource-agents: improve reproducibilityHongxu Jia
Script ocf-binaries contains build path $ grep tmp-glibc -rn image/ |image/usr/lib64/ocf/lib/heartbeat/ocf-binaries:11:: ${EGREP:="/buildarea1/hjia/ wrlinux-1019/build_master-wr_qemux86-64_2019053109/build/tmp-glibc/hosttools/grep -E"} |image/usr/lib64/ocf/lib/heartbeat/ocf-binaries:16:: ${TEST:=/buildarea1/hjia/ wrlinux-1019/build_master-wr_qemux86-64_2019053109/build/tmp-glibc/hosttools/test} Set grep/test path rather than using hosttools which refers commit in oe-core [f6e7a3b libtool: Don't hardcode grep paths] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-10-19resource-agents: support multiple dbg packagesHongxu Jia
Since `da5ec06 package: Add auto package splitting of .debug file' applied in oe-core, only one dbg package is split by default, set NOAUTOPACKAGEDEBUG = '1' to support multiple dbg packages Correct dirs for FILES_${PN}-extra/FILES_${PN}-extra-dbg/ FILES_${PN}-dbg, previously dirs are obsolete. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-04-18resource-agents: refresh patches to fix QA warningYi Zhao
Refresh patches with devtool command to fix do_patch warning. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-06-12resource-agents: update to version 4.0.1Jackie Huang
Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-06-12resource-agents: fix builds error when S != BJackie Huang
It fails to find fs.sh.in when srddir and builddir are not the same: make[5]: Entering directory '/path/to/builddir/rgmanager/src/resources' cat fs.sh.in | sed \ -e 's#@''LOGDIR@#/var/log/cluster#g' \ > fs.sh.out cat: fs.sh.in: No such file or directorychmod +x fs.sh.out mv fs.sh.out fs.sh Add abs_srcdir to fix this. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-06-12resource-agents: fix install-sh not foundJackie Huang
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. configure.ac calls AM_INIT_AUTOMAKE too late. The attached patch moves it up to just after AC_INIT, fixing the FTBFS. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-06-12resource-agents: fix dependenciesJackie Huang
* Add missing runtime dependencies for: - many tools and scripts need bash and perl. - lvm.sh requires: lvm2 - ip.sh requires: ethtool iproute2 iputils-arping - fs.sh requires: e2fsprogs-e2fsck util-linux quota - netfs.sh requires: procps util-linux nfs-utils Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-06-05resource-agents: fix configure issueArmin Kuster
| checking for pkg-config... no | configure: error: You need pkgconfig installed in order to build | ERROR: Function failed: do_configure (log file is located at /home/akuster/oss/maint/oe-test-distro/build/tmp-glibc-glibc/work/i586-dummy-linux/resource-agents/3.9.7-r0/temp/log.do_configure.3415) ERROR: Task (/home/akuster/oss/maint/oe-test-distro/openembedded-core/../meta-cgl/meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents_3.9.7.bb:do_configure) failed with exit code '1 add inherit pkgconfig Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2016-09-20resource-agents: 3.9.6 -> 3.9.7Wang Xin
Upgrade resource-agents from 3.9.6 to 3.9.7. Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2015-07-02cluster-resource-agents: upgrade to 3.9.6 and rename to resource-agentsBian Naimeng
Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com> Signed-off-by: Alexandru.Vaduva <Alexandru.Vaduva@enea.com>
2015-04-27cluster-resource-agents: add bash to RDEPENDS for ocft and ${PN}Dmitry Eremin-Solenikov
Add bash to respective RDEPENDS as pointed by QA WARNINGS: cluster-resource-agents-1.0.3: /usr/sbin/ocft_ocft contained in package ocft requires /bin/bash, but no providers found in its RDEPENDS [file-rdeps] cluster-resource-agents-1.0.3: /usr/lib/ocf/resource.d/heartbeat/AoEtarget_cluster-resource-agents contained in package cluster-resource-agents requires /bin/bash, but no providers found in its RDEPENDS [file-rdeps] Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Alexandru.Vaduva <Alexandru.Vaduva@enea.com>
2015-04-27cluster-resource-agents: add sha256 sum of the tarballDmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Alexandru.Vaduva <Alexandru.Vaduva@enea.com>
2014-10-06cgl: split layer between meta-cgl-common and meta-vendorLiviu Gheorghisan
Now we have this structure: meta-cgl + meta-cgl-common + conf + images + packagegroups + recipes-cgl + recipes-extended + recipes-kernel + recipes-perl + meta-fsl-ppc + recipes-kernel ... + COPYING.MIT + README The reason for this change is to separate machine specific stuff (kernel bbappends, configs, etc) in separate layers, and each of these layers will only be included in the build when building for that machine. [LXCR-3670] Signed-off-by: Liviu Gheorghisan <liviu.gheorghisan@enea.com> Signed-off-by: Alexandru.Vaduva <Alexandru.Vaduva@enea.com>