aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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>
2017-06-08cluster-glue: inherit systemdJackie Huang
inherit systemd and add PACKAGECONFIG to add proper configure option and dependency when systemd is enabled. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-06-08pacemaker: Update checksumAdrian Dudau
Archive file changed at the source Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-06-08openipmi: remove the bbappendJackie Huang
The recipe in meta-oe is version 2.0.22 now, in which the perl modules are packaged in openipmi-perl, so this bbappend is not needed any more. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-06-05pacemaker: add missing header fileArmin Kuster
mainloop.c:406:8: error: unknown type name 'qb_array_t' | static qb_array_t *gio_map = NULL; Signed-off-by: Armin Kuster <akuster@mvista.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>
2017-06-05openais: remove cleanup entry from openaisJackie Huang
message_handler_req_exec_lck_resourceclose is to remove cleanup entry from corosync. Now this job is done by pacemaker. So remove this feature from openais. Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-06-05openais: fix corosync not quitJackie Huang
On some targets, "/etc/init.d/openais stop" can not make corosync quit since corosync does not respond to signal TERM. Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-06-05openais: fix saTmrTimerReschedule test errorJackie Huang
* If req_lib_tmr_timerreschedule->timer_attributes.type is SA_TIME_ABSOLUTE, an absolute time value must be higher than the current absolute time.According to the type, we will compare the current time with an absolute time. If the type is SA_TIME_ABSOLUTE, we will compare. Or else, we do nothing; * For single-event timers, timerPeriodDuration = 0 is required. Note that saTmrTimerReschedule() cannot be used to change a timer from being a single-event timer to a periodic timer or vice versa. Since the older timerPeriodDuration is 0 in testtmr.c file, it is a single-event timer. The following reschedule will change it to a periodic timer. It is not permitted. Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-06-05openais: correct the use of proc name in init scriptJackie Huang
openais actually runs on top of corosync. The init script was checking for the pid of "openais" rather than checking for corosync's pid. Signed-off-by: Aws Ismail <aws.ismail@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-06-05openais: add systemd supportJackie Huang
inherit systemd and add .service for systemd support Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-05-24core-image-cgl: Remove ROOTFS_PKGMANAGE_BOOTSTRAPAdrian Dudau
run-postinsts is now installed by default in image.bbclass, so no need to include it in each image. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-05-24meta-cgl-common: remove dependency on meta-openclovisJackie Huang
The dependency was needed because of the usage of openhpi and openimpi, now the two recipes are added in meta-openembedded/meta-networking and meta-openembedded/meta-oe with newer versions, and meta-openclovis is not really active in the past two years, it's better to remove the dependency on meta-openclovis. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2017-02-21initramfs: fix parsing issue with do toArmin Kuster
uboot inclusion Follow Up Flag: Follow up Flag Status: Flagged From: Armin Kuster <akuster@mvista.com> since the image type includes "uboot", need to inherit the class for it Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Alexandru.Vaduva <alexandru.vaduva@linux.com>
2017-02-21openais: change SRC_URI http to fix errorArmin Kuster
Follow Up Flag: Follow up Flag Status: Flagged From: Armin Kuster <akuster@mvista.com> ERROR: openais-1.1.4-r0 do_fetch: Error executing a python function in exec_python_func() autogenerated: ftp://ftp@ breaks the fetcher and really is not needed. Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Alexandru.Vaduva <alexandru.vaduva@linux.com>