aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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>
2019-07-19libhtml-tagset-perl: remove recipeYi Zhao
The libhtml-tagset-perl recipe was added to meta-perl layer with commit: 4058e65f3c4e17ad04423f4c9edf8607fe6fdb4f We can drop this duplicate recipe. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2019-07-19packagegroup-cgl-middleware: remove ipsec-tools and umipYi Zhao
The ipsec-tools and umip had been removed from meta-openembedded. We should remove them from the packagegroup. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.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>
2019-06-11pacemaker: do not use unstable github archive tarballsHongxu Jia
Since commit [21f84fc insane: add sanity checks to SRC_URI] applied in oe-core, do not use unstable github archive tarballs Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2019-06-11crmsh: do not use unstable github archive tarballsHongxu Jia
Since commit [21f84fc insane: add sanity checks to SRC_URI] applied in oe-core, do not use unstable github archive tarballs Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2019-06-11umip: remove umip bbappendHongzhi.Song
umip has been removed, so its bbappend should be removed too. Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2019-05-07cfg files: update do to 4.19 changesArmin Kuster
Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2019-05-07packagegroup-cgl-middleware: remove openaisArmin Kuster
Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2019-05-07openais: remove as corosync 2.x replaces functionalityArmin Kuster
corosync 2.x can replace corosync 1.x + openais. openais is no longer maintainted and shutdown. https://github.com/corosync/openais/commit/f2bc4445a7c4ba5d17a218af855dc19d55ed2803 Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2019-05-07cluster: fix SRC_URI and dependsArmin Kuster
corosync 1.x have removed from meta-cgl, and use corosync under meta-networking. corosync 2.x can replace corosync 1.x + openais (in meta-cgl), so remove depend on openais Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2019-05-07layer.conf: Add LAYERSERIES_COMPAT for warriorArmin Kuster
Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2019-03-05heartbeat: Added dependences to fix build error.Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.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-10-19cluster-glue: 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 Use `=+' to replace `+=', it will split user define sub package first Add missing dirs to FILES_${PN}-dbg Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-10-10layer.conf: update LAYERSERIES_COMPAT `sumo' -> `thud'Hongxu Jia
Since `9ec5a8a layer.conf: Drop sumo from LAYERSERIES_CORENAMES' and `9867924 layer.conf: Add thud to LAYERSERIES_CORENAMES' applied in oe-core, update LAYERSERIES_COMPAT `sumo' -> `thud' Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-10-10pacemaker: improve reproducibilityHongxu Jia
It installs test case by default which contain host paths and it breaks binary reproducibility. Pick a fix from ubuntu to make the testing infrastructure optional, and disable it by default Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-08-30ocfs2-tools: fix usrmerge install pathMingli Yu
Set prefix to fix below issue when usrmerge enabled in DISTRO_FEATURES | WARNING: ocfs2-tools-1.8.5-r0 do_package: QA Issue: ocfs2-tools: Files/directories were installed but not shipped in any package: /sbin/mount.ocfs2 /sbin/o2cb /sbin/o2cluster /sbin/mkfs.ocfs2 /sbin/tunefs.ocfs2 /sbin/fsck.ocfs2 /sbin/debugfs.ocfs2 /sbin/o2cb_ctl /sbin/ocfs2_hb_ctl /sbin/mounted.ocfs2 /sbin/o2image | ERROR: QA Issue: ocfs2-tools-dbg package is not obeying usrmerge distro feature. /sbin should be relocated to /usr. [usrmerge] Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-08-23ocfs2-tools: Fix build with glibc 2.28Mingli Yu
Backport two patches to fix below compile failures: 1, In file included from o2cb_abi.c:52: ../include/ocfs2/ocfs2.h:222:2: error: unknown type name 'loff_t' loff_t d_off; /* Offset of structure in the file */ ^~~~~~ 2, /usr/src/debug/ocfs2-tools/1.8.5-r0/git/mounted.ocfs2/mounted.c:354: undefined reference to `makedev' collect2: error: ld returned 1 exit status Makefile:36: recipe for target 'mounted.ocfs2' failed make[1]: *** [mounted.ocfs2] Error 1 Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-08-23pacemaker: Upgrade 1.1.16 -> 1.1.19Changqing Li
1. Upgrade pacemaker to 1.1.19 2. fence_legacy/fence_pcmk in package pacemaker requires /usr/bin/perl, but no providers found in RDEPENDS_pacemaker, so add it Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-08-23crmsh: 2.3.2 -> 3.0.3Changqing Li
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-08-23monit: 5.20.0 -> 5.25.2Changqing Li
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-08-23libwww-perl: 6.05 -> 6.35Changqing Li
License-Update: license file change from README to LICENSE Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-08-23libtest-pod-perl: 1.51 -> 1.52Changqing Li
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-08-23libsocket6-perl: 0.23 -> 0.28Changqing Li
License-Update: copyright year update Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-08-23libmailtools-perl: 2.18 -> 2.20Changqing Li
License-Update: copyright year update Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-07-25pacemaker: remove depend on openaisChangqing Li
corosync 1.x have removed from meta-cgl, and use corosync under meta-networking. corosync 2.x can replace corosync 1.x + openais (in meta-cgl), so remove depend on openais Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-07-04ocfs2-tools: fix some script issuesJoe Slater
Add a conditional RDEPENDS for lsbinitscripts which are needed by the o2cb and ofcs2 services and not supplied by systemd. Also, do not look for a redhat-release file in the o2cb and ocfs2 scripts. Just use /etc/init.d/functions if it exists. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-05-29ocfs2-tools: uppgrade from 1.8.4 to 1.8.5sumoLei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.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>
2018-04-18pacemaker: refresh patches to fix QA warningYi Zhao
Refresh patches with devtool command to fix do_patch warning. Remove fix_missing_qb_array.patch since it had been fixed upstream. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-04-18crmsh: refresh patch to fix QA warningYi Zhao
Refresh patch 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>
2018-04-18layer.conf: Add LAYERSERIES_COMPAT for sumoAdrian Dudau
Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-04-18meta-cgl-common: Add READMEArmin Kuster
per spec, every layer needs a README. Issue noted via yocto-check-layer Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-04-18iscsi-initiator-utils: drop bbappendsArmin Kuster
change appears to no longer being needed. Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-04-18makedumpfile: remove as its in meta-oeArmin Kuster
Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-04-18Corosync: remove recipe its in meta-networking.Armin Kuster
Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-04-18Drop meta-cgl-fsl-ppc layerAdrian Dudau
This layer is outdated and not mainainted anymore. We will only focus on qemu support for now. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-03-16recipes-perl: don't set PACKAGE_ARCH = "all"Jackie Huang
* The allarch bbclass should be used instead of setting PACKAGE_ARCH = "all" according to the commit in oe-core: """ commit 591fa7c1ab9e9ff75fdce602c77ecdeda3a255d9 Author: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Sun Nov 25 20:23:42 2012 +0000 packagegroup/allarch: Convert to use allarch class Currently there is some odd behaviour of the packagegroup class in relation to sstate since it sets PACKAGE_ARCH = "all" but does not use the allarch class leading to it being undetected by sstate. Previously it was not possible to use allarch as the recipe couldn't "undo" settings made by the allarch class. Since this no longer happens when PACKAGE_ARCH != all, we can use the allarch class. This patch also fixes up one case we need to preserve TRANSLATED_TARGET_ARCH and ensures sstate only assumes allarch when PACKAGE_ARCH is "all". Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> """ Or it fails since the menifest file names mismatch. * These packages are not all arch just like other perl libraries, so just remove the setting PACKAGE_ARCH = "all". Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-01-22cluster-glue: update EXTRA_OECONF and RDEPENDSKai Kang
cluster-glue refers to some resources located in $OCF_ROOT_DIR which is provided by package cluster-resource-agents. But these resources are installed to ${libdir}/ocf by previous commit. So update EXTRA_OECONF to set OCF_ROOT_DIR with ${libdir}/ocf too. Update RDEPENDS of ${PN}-lrmtest as well. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-01-10pacemaker: set CLEANBROKEN to fix rebuildYi Zhao
Rebuilding pacemaker would cause the following error: | NOTE: make clean | make: *** No rule to make target 'clean'. Stop. | ERROR: oe_runmake failed Fix this problem by setting CLEANBROKEN to "1". Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-01-10pacemaker: set OCF_ROOT_DIR to $libdir/ocfMingli Yu
* Set the default OCF_ROOT_DIR to $libdir/ocf to make the resource agents components more compatible Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-01-10pacemaker: rework ↵Mingli Yu
0002-pacemaker-search-header-from-STAGING_INCDIR-to-walka.patch * Rework the patch as the logic is wrong previously as the STAGING_INCDIR is actually applicable in cross compiling env. Update the patch to locate the right OCF_ROOT_DIR in cross compiling env. * Add "rm -rf ${D}${localstatedir}/lib/heartbeat" to fix below error: Error: Transaction check error: file /var/lib/heartbeat/cores conflicts between attempted installs of pacemaker-1.1.16-r0.core2_64 and cluster-glue-1.0.12-r0.core2_64 Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2018-01-10pacemaker: add pacemaker-cli-utils to RDEPENDSMingli Yu
* Add pacemaker-cli-utils to RDEPENDS as many cluster resource agents manager commands such as crm_mon are packed into pacemaker-cli-utils. Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-11-09pacemaker: disable autostartrockoKai Kang
pacemaker requires corosync starts before it. But corosync could not start without configuration and autostart is disabled. So disable autostart of pacemaker too. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-10-30recipes-perl: correct license for perl modulesKai Kang
Correct LICENSE of perl modules that 'GPLv2' is not right for them. libsocket6-perl is licensed with BSD accoring to README file. And other 4 modules libhtml-tagset-perl, libmailtools-perl, libtest-pod-perl and libwww-perl are licensed with same terms of Perl itself according to their README files too. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-10-23crmsh: disable network access for xsltproc when generate manpagesYi Zhao
If the network is in poor condition, there may be an error when generate manpages: | a2x --xsltproc-opts=--catalogs -L -f manpage doc/crm.8.adoc [snip] | a2x: ERROR: "xsltproc" --catalogs --stringparam callout.graphics 0 --stringparam navig.graphics 0 --stringparam admon.textlabel 1 --stringparam admon.graphics 0 "/buildarea/build/tmp-glibc/work/armv5e-wrs-linux-gnueabi/crmsh/2.3.2-r0/recipe-sysroot-native/etc/asciidoc/docbook-xsl/manpage.xsl" "/buildarea/build/tmp-glibc/work/armv5e-wrs-linux-gnueabi/crmsh/2.3.2-r0/crmsh-2.3.2/doc/crm.8.xml" returned non-zero exit status 6 | make: *** [Makefile:848: doc/crm.8] Error 1 By default, xsltproc tries to fetch DTDs from network. If the nework is in poor condition, the incomplete download may cause a dtd parsing error. Pass "--nonet" and "--novalid" options to xsltproc to disable the network access and skip loading the document´s DTD. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>