aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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>
2017-10-17cgl-common.inc: append SRC_URI for poky-cgl onlyJackie Huang
Someone may want to add meta-cgl-common layer into their distro and only use some of the packages, but these kernel features will be also added by the bbappend and may cause unexpected issue, so change to append the SRC_URI for poky-cgl distro only. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-10-17poky-cgl.conf: add poky-cgl into DISTROOVERRIDESJackie Huang
Add poky-cgl into DISTROOVERRIDES, otherwise it's "poky:linuxstdbase" since it requires poky-lsb.conf. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-10-03kernel: Fix config warning for CONFIG_I2C_ALGOBITHe Zhe
CONFIG_DRM in yocto-kernel-cache selects CONFIG_I2C_ALGOBIT as "y". Change CONFIG_I2C_ALGOBIT 00026-lm-sensors.cfg from "m" to "y" to avoid following config conflict. ---------- CONFIG_I2C_ALGOBIT ----------------- Config: CONFIG_I2C_ALGOBIT From: /PATH/TO/i915.cfg /PATH/TO/00026-lm-sensors.cfg Requested value: CONFIG_I2C_ALGOBIT=m Actual value: CONFIG_I2C_ALGOBIT=y Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-09-25poky-cgl: Don't inherit image_types_ubootAdrian Dudau
This has been removed from the classes and the corresponding compression folded into the default image class. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-09-25cgl-init-build-env: Add dependency layersAdrian Dudau
Some dependencies changed in the meta-security layer, update accordingly. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-09-25poky-cgl: Enable distro features in the distro definitionAdrian Dudau
Distro features enabled in packagegroups have no effect. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-09-25poky-cgl: Use selinux as a distro featureAdrian Dudau
meta-selinux switched from distro conf to distro features, use it accordingly. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-09-20cluster-glue: Add HOMEPAGE info into recipe file.Huang Qiyu
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-09-20libwww-perl: Add HOMEPAGE info into recipe file.Huang Qiyu
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-09-20libsocket6-perl: Add HOMEPAGE info into recipe file.Huang Qiyu
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-09-20libmailtools: Add HOMEPAGE info into recipe file.Huang Qiyu
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-09-20libhtml-tagset-perl: Add HOMEPAGE info into recipe file.Huang Qiyu
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-09-20ocfs2-tools: fix compile error with glibc 2.26Jackie Huang
When glibc upgrade to glibc-2.26.90-14, there was a compile error in fsck.ocfs2, the compile error messages like, In file included from /usr/include/string.h:431:0, from ../include/ocfs2/ocfs2.h:41, from pass4.c:32: include/strings.h:37:1: error: unknown type name 'errcode_t'; did you mean 'mode_t'? errcode_t o2fsck_strings_insert(o2fsck_strings *strings, char *string, ^~~~~~~~~ mode_t Backport a patch to rename strings.h => o2fsck_strings.h Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-08-14pacemaker: Ship missing resource.d directory in ${PN}Jagadeesh Krishnanjanappa
Fix below warning when ${libdir} is other than '/usr/lib', -- snip -- WARNING: pacemaker-1.1.16-r0 do_package: QA Issue: pacemaker: Files/directories were installed but not shipped in any package: /usr/lib /usr/lib/ocf /usr/lib/ocf/resource.d /usr/lib/ocf/resource.d/.isolation /usr/lib/ocf/resource.d/pacemaker /usr/lib/ocf/resource.d/.isolation/docker-wrapper /usr/lib/ocf/resource.d/pacemaker/SystemHealth /usr/lib/ocf/resource.d/pacemaker/HealthCPU /usr/lib/ocf/resource.d/pacemaker/ClusterMon /usr/lib/ocf/resource.d/pacemaker/pingd /usr/lib/ocf/resource.d/pacemaker/HealthSMART /usr/lib/ocf/resource.d/pacemaker/controld /usr/lib/ocf/resource.d/pacemaker/Stateful /usr/lib/ocf/resource.d/pacemaker/ping /usr/lib/ocf/resource.d/pacemaker/o2cb /usr/lib/ocf/resource.d/pacemaker/remote /usr/lib/ocf/resource.d/pacemaker/Dummy /usr/lib/ocf/resource.d/pacemaker/SysInfo Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. pacemaker: 18 installed and not shipped files. [installed-vs-shipped] -- snip -- Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-08-14corosync: update to 1.4.8Jackie Huang
- Add systemd support - Add PACKAGECONFIG for nss, dbus, rdma and snmp - Install config file for corosync-notifyd Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-07-31ocfs2-tools: Move RDEPENDS var to the top of the recipeAdrian Dudau
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-07-31ocfs2-tools: disable stack user support explicitly in init scriptJackie Huang
Disable stack user support explicitly and only support stack 'o2cb' in init script o2cb. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-07-31ocfs2-tools: fix the installation and systemd servicesJackie Huang
* use _append for do_install so that autotools_do_install will be run first. * add -m for the install commands. * add ${S} for install source files instead of relative path. * remove cluster.conf.sample and use the sample conf file in source code instead. * Disable systemd services by default since it won't work before the conf file is changed according to the actual network settings. * Fix the services to use the correct helper scripts Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-07-31ocfs2-tools: fix dependenciesJackie Huang
* Remove the duplicated RDEPENDS_${PN} * Add dependency on e2fsprogs-native to fix: | compile_et o2dlm_err.et | /bin/bash: compile_et: command not found Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-07-31monit: update to 5.20.0Jackie Huang
Changes: - Fix the license to AGPLv3 - Add summary, description and homepage - Add systemd support - Don't change the files in ${S}, change them after installing. - Add PACKAGECONFIG for pam and enable it when it's in DISTRO_FEATURES Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-06-20pacemaker: update to 1.1.16Jackie Huang
* update the licenses and checksum * fix PN -> BPN for multilib builds * add PACKAGECONFIG for systemd and libsmtp * add fix for libgnutls Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-06-19racoon2: add new recipeYi Zhao
The Racoon2 project is a joint effort which provides an implementation of key management system for IPsec. It supports IKEv1, IKEv2, and KINK protocols. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-06-15crmsh: add new recipeJackie Huang
crm shell, a Pacemaker command line interface for management and configuration. Signed-off-by: Jackie Huang <jackie.huang@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-12poky-cgl: avoid installing multiple syslogsJackie Huang
do_rootfs fails if multiple syslogs are installed: | Error: package syslog-ng-3.8.1-r0.i586 conflicts with sysklogd provided by sysklogd-1.5.1-r0.i586 core-image-cgl requires packagegroup-core-full-cmdline which depends on VIRTUAL-RUNTIME_syslog (default to sysklogd), so set the VIRTUAL-RUNTIME_syslog in distro conf and no need to depends on any syslog in packagegroup-cgl-applications, then we ensure that only one syslog is installed to avoid conflicts. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-06-12ucarp: add new recipeYi Zhao
UCARP allows a couple of hosts to share common virtual IP addresses in order to provide automatic failover. It is a portable userland implementation of the secure and patent-free Common Address Redundancy Protocol (CARP). Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-06-08cluster-glue: update useradd parametersJackie Huang
Update useradd parameters for cluster-glue according to spec file from source code: https://github.com/ClusterLabs/cluster-glue/blob/master/cluster-glue-fedora.spec And use HA_USER and HA_GROUP for easy maintenance. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-06-08cluster-glue: fix the licensesJackie Huang
It includes LGPL 2.1 as well according to COPYING.LIB. And point the LIC_FILES_CHKSUM to the checksums of the license text in the source code. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>